mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 23:04:08 +00:00
Fix Short Lamp
This commit is contained in:
1 parent
c94f928f5e
commit
114d9d0941
1 file changed
+1
-1
@@ -79,7 +79,7 @@ public class BlockShortLamp extends BlockContainer {
|
||||
l %= 4;
|
||||
TileColorable tile = (TileColorable) world.getTileEntity(x, y, z);
|
||||
tile.rotation = l;
|
||||
tile.color = colorTableInts[BlockColored.func_150031_c(15 - stack.getItemDamage())];
|
||||
tile.color = colorTableInts[15 - stack.getItemDamage()];
|
||||
world.setBlockMetadataWithNotify(x, y, z, stack.getItemDamage(), 2);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user