From b0722299143445bd52c9a2db33fe8deb39769012 Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Wed, 20 Feb 2013 14:45:16 +0100 Subject: [PATCH] small bug fix. --- src/de/craftinc/gates/listeners/PluginPortalListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/craftinc/gates/listeners/PluginPortalListener.java b/src/de/craftinc/gates/listeners/PluginPortalListener.java index 0237a2a..11d5daa 100644 --- a/src/de/craftinc/gates/listeners/PluginPortalListener.java +++ b/src/de/craftinc/gates/listeners/PluginPortalListener.java @@ -60,7 +60,7 @@ public class PluginPortalListener implements Listener if (player.getGameMode() == GameMode.CREATIVE) { - if (this.currentGateAtEvent.containsKey(player)) + if (this.currentGateAtEvent.get(player) != null) { return; }