SteamWar/SpigotCore
Archiviert
13
0

Fix pr stuff
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2023-02-04 19:56:04 +01:00
Ursprung b1dea856fc
Commit b5a9b3d068

Datei anzeigen

@ -67,9 +67,9 @@ public class REntityServer implements Listener {
if (action == 2) action = 0; if (action == 2) action = 0;
int finalAction = action; int finalAction = action;
Bukkit.getScheduler().runTaskLater(Core.getInstance(), () -> { Bukkit.getScheduler().runTask(Core.getInstance(), () -> {
callback.onAction(player, entity, finalAction == 0 ? EntityAction.INTERACT : EntityAction.ATTACK); callback.onAction(player, entity, finalAction == 0 ? EntityAction.INTERACT : EntityAction.ATTACK);
}, 0); });
return null; return null;
}; };