Fix the map not working when players relog
This commit is contained in:
parent
30d2059e9a
commit
4cb4f944e7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user