Hello. 
 
public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side){
	return FMLClientHandler.instance().getClientPlayerEntity().capabilities.isCreativeMode ? super.getIcon(world, x, y, z, side) : iconEmpty;
}
 
Block texture changes only when I update the blocks in the chunk (destroy, put etc). 
How to make it so that when the player was of creative mode texture change immediately?