only when necessary really
This commit is contained in:
1 parent
6a43ee25c7
commit
5b1ef77009
1 file changed
+1
-1
@@ -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 (CarpetClient.isCarpet() || CarpetServer.minecraft_server != null)
|
||||
if (CarpetSettings.structureBlockLimit >= 128 && (CarpetClient.isCarpet() || CarpetServer.minecraft_server != null))
|
||||
{
|
||||
buf.writeInt(this.offset.getX());
|
||||
buf.writeInt(this.offset.getY());
|
||||
|
||||
Reference in new issue
Block a user