Skip to content

Commit

Permalink
minor cleanings
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Nov 9, 2019
1 parent 3ffe17f commit f0ea2eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -86,6 +86,9 @@ public void breakDown() {
PlayerMoveEvent.getHandlerList().unregister(this);
PlayerTeleportEvent.getHandlerList().unregister(this);
PlayerChangedWorldEvent.getHandlerList().unregister(this);
PlayerQuitEvent.getHandlerList().unregister(this);
PlayerJoinEvent.getHandlerList().unregister(this);
VehicleMoveEvent.getHandlerList().unregister(this);
}

//////////////
Expand Down Expand Up @@ -149,6 +152,7 @@ public void onPlayerJoin(PlayerJoinEvent event) {
internalRun(pme, "join");
}

@EventHandler
public void onWorldChange(PlayerChangedWorldEvent event) {
if (EntityTag.isNPC(event.getPlayer())) {
return;
Expand Down
Expand Up @@ -35,7 +35,7 @@ public class NoteCommand extends AbstractCommand {
//
// @Usage
// Use to add a notable cuboid.
// - note cu@1,2,3,world|4,5,6,world as:mycuboid
// - note cu@world,1,2,3,10,11,12 as:mycuboid
//
// @Usage
// Use to remove a notable cuboid.
Expand Down

0 comments on commit f0ea2eb

Please sign in to comment.