mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 12:10:30 +00:00
Fix coloured pocket computers using the wrong texture
This commit is contained in:
parent
f38a6a9d43
commit
1866916cb8
@ -147,7 +147,7 @@ public final class ClientRegistry
|
|||||||
( stack, world, player ) -> ItemPocketComputer.getState( stack ).ordinal(),
|
( stack, world, player ) -> ItemPocketComputer.getState( stack ).ordinal(),
|
||||||
Registry.ModItems.POCKET_COMPUTER_NORMAL, Registry.ModItems.POCKET_COMPUTER_ADVANCED
|
Registry.ModItems.POCKET_COMPUTER_NORMAL, Registry.ModItems.POCKET_COMPUTER_ADVANCED
|
||||||
);
|
);
|
||||||
registerItemProperty( "state",
|
registerItemProperty( "coloured",
|
||||||
( stack, world, player ) -> IColouredItem.getColourBasic( stack ) != -1 ? 1 : 0,
|
( stack, world, player ) -> IColouredItem.getColourBasic( stack ) != -1 ? 1 : 0,
|
||||||
Registry.ModItems.POCKET_COMPUTER_NORMAL, Registry.ModItems.POCKET_COMPUTER_ADVANCED
|
Registry.ModItems.POCKET_COMPUTER_NORMAL, Registry.ModItems.POCKET_COMPUTER_ADVANCED
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user