Fix the map not working when players relog

This commit is contained in:
Sam 2017-02-18 10:36:23 +00:00
parent 30d2059e9a
commit 4cb4f944e7

View File

@ -57,8 +57,8 @@ import mineplex.core.itemstack.ItemBuilder;
import mineplex.core.portal.events.ServerTransferEvent;
import mineplex.core.updater.UpdateType;
import mineplex.core.updater.event.UpdateEvent;
import mineplex.gemhunters.death.event.PlayerCustomRespawnEvent;
import mineplex.gemhunters.spawn.SpawnModule;
import mineplex.gemhunters.spawn.event.PlayerTeleportIntoMapEvent;
import net.minecraft.server.v1_8_R3.Block;
import net.minecraft.server.v1_8_R3.BlockPosition;
import net.minecraft.server.v1_8_R3.Blocks;
@ -664,7 +664,7 @@ public class ItemMapModule extends MiniPlugin
}
@EventHandler
public void teleportIn(PlayerTeleportIntoMapEvent event)
public void teleportIn(PlayerCustomRespawnEvent event)
{
MapInfo info = new MapInfo(_mapId);