applying altrisi's observations.

This commit is contained in:
gnembon committed 2021-02-17 03:09:41 -04:00
1 parent 5b1ef77009
commit df7a4a6681
2 files changed
+2 -2

No files matched your search

@@ -38,7 +38,7 @@ public class UpdateStructureBlockC2SPacketMixin {
)
private void structureBlockLimitsWrite(PacketByteBuf buf, CallbackInfo ci) {
//client method, only applicable if with carpet is on the server, or running locally
if (CarpetSettings.structureBlockLimit >= 128 && (CarpetClient.isCarpet() || CarpetServer.minecraft_server != null))
if (CarpetSettings.structureBlockLimit >= 128)
{
buf.writeInt(this.offset.getX());
buf.writeInt(this.offset.getY());