Removed some debug prints.
This commit is contained in:
parent
4f89e20e6f
commit
d29ad9a474
@ -29,7 +29,6 @@ public class PlayerChangedWorldListener implements Listener
|
|||||||
@EventHandler(priority = EventPriority.NORMAL)
|
@EventHandler(priority = EventPriority.NORMAL)
|
||||||
public void onPlayerChangeWorld(PlayerChangedWorldEvent event)
|
public void onPlayerChangeWorld(PlayerChangedWorldEvent event)
|
||||||
{
|
{
|
||||||
System.out.println("location: " + event.getPlayer().getLocation());
|
|
||||||
GateBlockChangeSender.updateGateBlocks(event.getPlayer());
|
GateBlockChangeSender.updateGateBlocks(event.getPlayer());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,10 +29,6 @@ public class PlayerRespawnListener implements Listener
|
|||||||
@EventHandler(priority = EventPriority.NORMAL)
|
@EventHandler(priority = EventPriority.NORMAL)
|
||||||
public void onPlayerRespawn(PlayerRespawnEvent event)
|
public void onPlayerRespawn(PlayerRespawnEvent event)
|
||||||
{
|
{
|
||||||
System.out.println("in onPlayerRespawn");
|
|
||||||
System.out.println("player: " + event.getPlayer());
|
|
||||||
System.out.println("position: " + event.getPlayer().getLocation());
|
|
||||||
|
|
||||||
GateBlockChangeSender.updateGateBlocks(event.getPlayer(), event.getRespawnLocation(), true);
|
GateBlockChangeSender.updateGateBlocks(event.getPlayer(), event.getRespawnLocation(), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user