small bug fix.

This commit is contained in:
Tobias Ottenweller 2013-02-20 14:45:16 +01:00
parent 0b8be1ec4b
commit b072229914

View File

@ -60,7 +60,7 @@ public class PluginPortalListener implements Listener
if (player.getGameMode() == GameMode.CREATIVE) if (player.getGameMode() == GameMode.CREATIVE)
{ {
if (this.currentGateAtEvent.containsKey(player)) if (this.currentGateAtEvent.get(player) != null)
{ {
return; return;
} }