mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fixed /spawn and /home false-positive
This commit is contained in:
1 parent
8054b03240
commit
2f0b2b1f6a
1 file changed
+1
-1
@@ -61,7 +61,7 @@ public class PlayerListener extends EventListener
|
||||
@EventHandler
|
||||
public void onPlayerTeleport(PlayerTeleportEvent event)
|
||||
{
|
||||
if(event.getCause() == TeleportCause.ENDER_PEARL)
|
||||
if(event.getCause() == TeleportCause.ENDER_PEARL || event.getCause() == TeleportCause.PLUGIN)
|
||||
{
|
||||
backend.logTeleport(event.getPlayer());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user