예제 #1
0
  public void setCreative(boolean par1) {
    creativeMode = par1;

    if (creativeMode) {
      PlayerControllerCreative.enableAbilities(mc.thePlayer);
    } else {
      PlayerControllerCreative.disableAbilities(mc.thePlayer);
    }
  }
예제 #2
0
 public void func_6473_b(EntityPlayer par1EntityPlayer) {
   PlayerControllerCreative.disableAbilities(par1EntityPlayer);
 }