# Help with added player data

**URL:** <https://forums.moddingtree.com/t/help-with-added-player-data/1133>\
**Category:** Modding Developers\
**Created:** [August 1, 2023, 3:12am UTC](https://forums.moddingtree.com/t/help-with-added-player-data/1133 "2023-08-01T03:12:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixelperfect12\_h](https://forums.moddingtree.com/user_avatar/forums.moddingtree.com/pixelperfect12_h/32/824_2.png) [@pixelperfect12\_h](https://forums.moddingtree.com/u/pixelperfect12_h)\
**Post date:** [August 1, 2023, 3:12am UTC](https://forums.moddingtree.com/t/help-with-added-player-data/1133/1 "2023-08-01T03:12:39Z")

</div>

![Screenshot 2023-07-31 at 10.02.30 PM](https://tmt-forums-uploads.s3.us-east-005.backblazeb2.com/original/1X/0dfb66a6cf7feab82db88d397733cdca8dc7dc0c.png)  
player.iron is defined to be a Decimal with the value of 1. However, it is called as a non Decimal with value of 0. How do I fix this?

---

<div class="post-metadata">

**Author:** ![Jakub](https://forums.moddingtree.com/user_avatar/forums.moddingtree.com/jakub/32/266_2.png) [@Jakub](https://forums.moddingtree.com/u/Jakub)\
**Post date:** [August 10, 2023, 11:04pm UTC](https://forums.moddingtree.com/t/help-with-added-player-data/1133/2 "2023-08-10T23:04:12Z")

</div>

Show how you defined it in the code
