Dieser Commit ist enthalten in:
Ursprung
05c01e25e2
Commit
d281860b81
@ -100,7 +100,6 @@ public class SmartPlaceListener implements Plain, Listener {
|
|||||||
|
|
||||||
private void run(Player player, Object packet, boolean first, boolean sneaking, boolean shouldSneak) {
|
private void run(Player player, Object packet, boolean first, boolean sneaking, boolean shouldSneak) {
|
||||||
Bukkit.getScheduler().runTaskLater(BauSystem.getInstance(), () -> {
|
Bukkit.getScheduler().runTaskLater(BauSystem.getInstance(), () -> {
|
||||||
|
|
||||||
if (sneaking) SMART_PLACING.add(player);
|
if (sneaking) SMART_PLACING.add(player);
|
||||||
player.setSneaking(shouldSneak || sneaking);
|
player.setSneaking(shouldSneak || sneaking);
|
||||||
packetExecutor.invoke(playerConnection.get(getHandle.invoke(player)), packet);
|
packetExecutor.invoke(playerConnection.get(getHandle.invoke(player)), packet);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren