Advertisement
CaptainLepidus

Untitled

Aug 7th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. public BikeWorldData get(World world) {
  2.         this.world = world;
  3.         BikeWorldData data = (BikeWorldData) world.loadItemData(BikeWorldData.class, IDENTIFIER);
  4.         if (data==null) {
  5.             data = new BikeWorldData();
  6.             world.setItemData(IDENTIFIER, data);
  7.         }
  8.         return data;
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement