Merge pull request #41 from MeltedLux/patch-1

Damn spelling
This commit is contained in:
libraryaddict 2014-07-13 07:21:19 +12:00
commit 75915b2f61

View File

@ -212,7 +212,7 @@ public class DisguiseListener implements Listener {
} }
@EventHandler(priority = EventPriority.MONITOR) @EventHandler(priority = EventPriority.MONITOR)
public void onVechileEnter(VehicleEnterEvent event) { public void onVehicleEnter(VehicleEnterEvent event) {
if (event.isCancelled()) if (event.isCancelled())
return; return;
if (event.getEntered() instanceof Player && DisguiseAPI.isDisguised((Player) event.getEntered(), event.getEntered())) { if (event.getEntered() instanceof Player && DisguiseAPI.isDisguised((Player) event.getEntered(), event.getEntered())) {
@ -222,7 +222,7 @@ public class DisguiseListener implements Listener {
} }
@EventHandler(priority = EventPriority.MONITOR) @EventHandler(priority = EventPriority.MONITOR)
public void onVechileLeave(VehicleExitEvent event) { public void onVehicleLeave(VehicleExitEvent event) {
if (event.isCancelled()) if (event.isCancelled())
return; return;
if (event.getExited() instanceof Player) { if (event.getExited() instanceof Player) {