diff --git a/patches/server-remapped/Don-t-check-ConvertSigns-boolean-every-sign-save.patch b/patches/server/Don-t-check-ConvertSigns-boolean-every-sign-save.patch similarity index 75% rename from patches/server-remapped/Don-t-check-ConvertSigns-boolean-every-sign-save.patch rename to patches/server/Don-t-check-ConvertSigns-boolean-every-sign-save.patch index ef99a0c58c..156166a0eb 100644 --- a/patches/server-remapped/Don-t-check-ConvertSigns-boolean-every-sign-save.patch +++ b/patches/server/Don-t-check-ConvertSigns-boolean-every-sign-save.patch @@ -10,20 +10,18 @@ diff --git a/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntit index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java +++ b/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java -@@ -0,0 +0,0 @@ public class SignBlockEntity extends BlockEntity implements CommandSource { // C - private final FormattedCharSequence[] renderMessages; - private DyeColor color; - public java.util.UUID signEditor; // Paper +@@ -0,0 +0,0 @@ + package net.minecraft.world.level.block.entity; + private static final boolean CONVERT_LEGACY_SIGNS = Boolean.getBoolean("convertLegacySigns"); // Paper - public SignBlockEntity() { - super(BlockEntityType.SIGN); + import com.mojang.brigadier.exceptions.CommandSyntaxException; + import java.util.UUID; @@ -0,0 +0,0 @@ public class SignBlockEntity extends BlockEntity implements CommandSource { // C } // CraftBukkit start - if (Boolean.getBoolean("convertLegacySigns")) { + if (CONVERT_LEGACY_SIGNS) { // Paper - tag.putBoolean("Bukkit.isConverted", true); + nbt.putBoolean("Bukkit.isConverted", true); } // CraftBukkit end