V0idWa1k3r / SmartBackpacks

A backpack mod for minecraft that adds backpacks of varying sizes that can be upgraded with various upgrades.
GNU Lesser General Public License v3.0
6 stars 8 forks source link

Fixed calling client-only method for backpack colors in getSubItems (Fix for #23) #24

Closed YuRaNnNzZZ closed 5 years ago

YuRaNnNzZZ commented 5 years ago

Instead of going with reflection (as primetoxinz suggested), i've just reused backpack dyeing code with getColorComponentValues() method for getSubItems, which is available on both sides.