Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int length = 0;
- if(old !=null){
- length = old.length;
- }
- //((ignore this line, this is just a test))
- Bukkit.getPlayer("shellofchaos").sendMessage("name: " +Blocker.getBlockname(loc));
- //next line gives an nullpointerexception and it isn't
- //Blocker.getBlockname(loc)
- old[length] = Blocker.getBlockname(loc);
Add Comment
Please, Sign In to add comment