Exemplo n.º 1
0
  public void setCreative(boolean par1) {
    creativeMode = par1;

    if (creativeMode) {
      PlayerControllerCreative.enableAbilities(mc.thePlayer);
    } else {
      PlayerControllerCreative.disableAbilities(mc.thePlayer);
    }
  }
Exemplo n.º 2
0
 public void func_6473_b(EntityPlayer par1EntityPlayer) {
   PlayerControllerCreative.disableAbilities(par1EntityPlayer);
 }