Closed Partonetrain closed 4 years ago
addItemStackToInventory
will actually add the item to the player's inventory, so the config option should be checked first (just flip the or condition). Also, the indentation of part of the config class looks off. Other than that, it looks good.
Makes sense. And I need to make formatting a habit. Tested in dev with config on and off, working as intended
Couple of lines for the functionality I need. Let me know what you think. Thanks!