public void setCreative(boolean par1) { creativeMode = par1; if (creativeMode) { PlayerControllerCreative.enableAbilities(mc.thePlayer); } else { PlayerControllerCreative.disableAbilities(mc.thePlayer); } }
public void func_6473_b(EntityPlayer par1EntityPlayer) { PlayerControllerCreative.disableAbilities(par1EntityPlayer); }