From 0da3156f6030eea4116e86545365d0ce33de68fc Mon Sep 17 00:00:00 2001 From: RealizedMC Date: Fri, 6 Jul 2018 09:55:40 +0900 Subject: [PATCH] added refresh chunk --- duels-plugin/src/main/java/me/realized/duels/extra/Teleport.java | 1 + 1 file changed, 1 insertion(+) diff --git a/duels-plugin/src/main/java/me/realized/duels/extra/Teleport.java b/duels-plugin/src/main/java/me/realized/duels/extra/Teleport.java index 8739f090..4b67acdb 100644 --- a/duels-plugin/src/main/java/me/realized/duels/extra/Teleport.java +++ b/duels-plugin/src/main/java/me/realized/duels/extra/Teleport.java @@ -72,6 +72,7 @@ public void tryTeleport(final Player player, final Location location, final Cons chunk.load(); } + location.getWorld().refreshChunk(chunk.getX(), chunk.getZ()); MetadataUtil.put(plugin, player, METADATA_KEY, location.clone()); if (!player.teleport(location)) {