mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 10:49:47 +00:00
Brush Color Setting and Changing Interaction
This commit is contained in:
1 parent
bd2eb0fe16
commit
4b8e0cd8c3
11 files changed
+109
-34
No files matched your search
@@ -39,7 +39,7 @@ public class BlockTallLamp extends BlockContainer {
|
||||
@Override
|
||||
public boolean onBlockActivated(World par1World, int i, int j, int k, EntityPlayer player, int par6, float par7, float par8, float par9){
|
||||
ItemStack item = player.inventory.getCurrentItem();
|
||||
if(item == null || item.getItem() != Items.dye)
|
||||
if(TileColorable.doNotAllowModification(item))
|
||||
return false;
|
||||
int meta = par1World.getBlockMetadata(i, j, k);
|
||||
if(meta >= 7)
|
||||
|
||||
Reference in new issue
Block a user