Jump to content

nayfaan

Members
  • Posts

    1
  • Joined

  • Last visited

nayfaan's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi , I would like to confirm if this works for 1.12.2 too as I'm porting a 1.7.10 mod to 1.12.2. and is the full correct syntax is?? FMLCommonHandler.instance().getMinecraftServerInstance().?????????????????????(player.canCommandSenderUseCommand(2, "")) My Try (IDK if this is correct) public static boolean isPlayerOpped( EntityPlayer player ) { return FMLCommonHandler.instance().getMinecraftServerInstance().player.canCommandSenderUseCommand(2, ""); } :
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.