Advertisement
Barteks2x

Untitled

Oct 21st, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.56 KB | None | 0 0
  1.                         if (this.mc.isIntegratedServerRunning() && this.mc.getIntegratedServer() != null)
  2.                         {
  3.                             EntityPlayerMP entityplayermp = this.mc.getIntegratedServer().getPlayerList().getPlayerByUUID(this.mc.thePlayer.getUniqueID());
  4.  
  5.                             if (entityplayermp != null)
  6.                             {
  7.                                 difficultyinstance = entityplayermp.worldObj.getDifficultyForLocation(new BlockPos(entityplayermp));
  8.                             }
  9.                         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement