public void setColor(int color) { if (this.id > 0) { myChest = BoundChestWorldData.get(this.worldObj, "id" + this.id, 0); } if (myChest != null) { myChest.setSealColor(color); } }