diff --git a/src/main/java/net/minestom/server/event/EventNodeImpl.java b/src/main/java/net/minestom/server/event/EventNodeImpl.java index ef0e947d1..b2d3cef4e 100644 --- a/src/main/java/net/minestom/server/event/EventNodeImpl.java +++ b/src/main/java/net/minestom/server/event/EventNodeImpl.java @@ -343,7 +343,6 @@ non-sealed class EventNodeImpl implements EventNode { final Consumer listener = createConsumer(); this.listener = listener; this.updated = true; - VarHandle.releaseFence(); return listener; } } diff --git a/src/main/java/net/minestom/server/network/packet/server/LazyPacket.java b/src/main/java/net/minestom/server/network/packet/server/LazyPacket.java index 5a9ef1a65..71910477f 100644 --- a/src/main/java/net/minestom/server/network/packet/server/LazyPacket.java +++ b/src/main/java/net/minestom/server/network/packet/server/LazyPacket.java @@ -28,7 +28,6 @@ public final class LazyPacket implements SendablePacket { packet = this.packet; if (packet == null) { this.packet = packet = packetSupplier.get(); - VarHandle.releaseFence(); } } }