applying altrisi's observations.
This commit is contained in:
1 parent
5b1ef77009
commit
df7a4a6681
2 files changed
+2
-2
No files matched your search
@@ -819,7 +819,7 @@ public class CarpetSettings
|
||||
"'structureBlockOutlineDistance' may be required for",
|
||||
"correct rendering of long structures."},
|
||||
options = {"48", "96", "192", "256"},
|
||||
category = {CREATIVE, CLIENT},
|
||||
category = CREATIVE,
|
||||
validate = StructureBlockLimitValidator.class,
|
||||
strict = false
|
||||
)
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user