mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Fixed a crash with the Wand of the Forest when placing it in a block from a mod that does not sync NBT tags (eg. Blood Magic).
This commit is contained in:
1 parent
d710652217
commit
efa8a2fbbf
1 file changed
+2
-2
@@ -156,11 +156,11 @@ public class ItemTwigWand extends Item16Colors {
|
||||
}
|
||||
|
||||
public static int getColor1(ItemStack stack) {
|
||||
return ItemNBTHelper.getInt(stack, TAG_COLOR1, 0xFFFFFF);
|
||||
return ItemNBTHelper.getInt(stack, TAG_COLOR1, 0);
|
||||
}
|
||||
|
||||
public static int getColor2(ItemStack stack) {
|
||||
return ItemNBTHelper.getInt(stack, TAG_COLOR2, 0xFFFFFF);
|
||||
return ItemNBTHelper.getInt(stack, TAG_COLOR2, 0);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user