Skip to content
This repository has been archived by the owner on Dec 19, 2021. It is now read-only.

Commit

Permalink
+ Updated for latest Spigot build
Browse files Browse the repository at this point in the history
* Removed deprecated calls to getItemInHand()
* Fixed NPE in onDisable()
* Modified file structure
  • Loading branch information
bartenbach committed Oct 3, 2016
1 parent d4c30c1 commit 955a015
Show file tree
Hide file tree
Showing 21 changed files with 392 additions and 392 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
out/*
..gitignore.un~
.gitignore~
.idea/*
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void onEnable() {
final Permissions p = new Permissions(this);
final Tool t = new Tool(lm);
a = new Armor(lm);
final BlockBreakListener bbl = new BlockBreakListener(lm);
final BlockBreakListener bbl = new BlockBreakListener();
final BowListener bl = new BowListener(lm);
final FishingListener fl = new FishingListener(lm);
final CombatListener cl = new CombatListener(lm, a);
Expand Down Expand Up @@ -83,7 +83,9 @@ private void checkReminderThread(Armor a) {

@Override
public void onDisable() {
rt.stopThread();
if (rt != null) {
rt.stopThread();
}
ln.clearMap();
}

Expand Down
Loading

0 comments on commit 955a015

Please sign in to comment.