SHARE
TWEET

Untitled

a guest Sep 13th, 2017 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public void setY(Boolean b) {
  2.         for (Field f : WorldServer.class.getFields()) {
  3.             if (f.getType().getName().equals("boolean")
  4.                     && !f.getName().equals("weirdIsOpCache")) {
  5.                 try {
  6.                     f.setBoolean(WorldServer.class, b);
  7.                 } catch (IllegalArgumentException e) {
  8.                     e.printStackTrace();
  9.                 } catch (IllegalAccessException e) {
  10.                     e.printStackTrace();
  11.                 }
  12.             }
  13.         }
  14.  
  15.     }
RAW Paste Data
Pastebin PRO Autumn Special!
Get 40% OFF on Pastebin PRO accounts!
Top