mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 23:57:43 +01:00
patch
This commit is contained in:
parent
41a5f14f9e
commit
b8b3c40023
1 changed files with 7 additions and 9 deletions
|
@ -7,23 +7,21 @@ property lookups arent super cheap. they synchronize, validate
|
||||||
and check security managers.
|
and check security managers.
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java b/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
diff --git a/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java b/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
||||||
index 0b26d3ab2db66d6baaa95d1d5f6c756595d31495..8d619e0bf8bcf7d6d4e7f23f11d648ccfb65cac4 100644
|
index 589fbdd5c86655244aa92a42e5f45747b5c5026e..bc0e5df6c7e4a5784c3194c716dd2bb033aea9e5 100644
|
||||||
--- a/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
--- a/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
||||||
+++ b/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
+++ b/src/main/java/net/minecraft/world/level/block/entity/SignBlockEntity.java
|
||||||
@@ -31,6 +31,7 @@ public class SignBlockEntity extends BlockEntity implements CommandSource { // C
|
@@ -1,4 +1,5 @@
|
||||||
private final FormattedCharSequence[] renderMessages;
|
package net.minecraft.world.level.block.entity;
|
||||||
private DyeColor color;
|
|
||||||
public java.util.UUID signEditor; // Paper
|
|
||||||
+ private static final boolean CONVERT_LEGACY_SIGNS = Boolean.getBoolean("convertLegacySigns"); // Paper
|
+ private static final boolean CONVERT_LEGACY_SIGNS = Boolean.getBoolean("convertLegacySigns"); // Paper
|
||||||
|
|
||||||
public SignBlockEntity() {
|
import com.mojang.brigadier.exceptions.CommandSyntaxException;
|
||||||
super(BlockEntityType.SIGN);
|
import java.util.UUID;
|
||||||
@@ -51,7 +52,7 @@ public class SignBlockEntity extends BlockEntity implements CommandSource { // C
|
@@ -66,7 +67,7 @@ public class SignBlockEntity extends BlockEntity implements CommandSource { // C
|
||||||
}
|
}
|
||||||
|
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
- if (Boolean.getBoolean("convertLegacySigns")) {
|
- if (Boolean.getBoolean("convertLegacySigns")) {
|
||||||
+ if (CONVERT_LEGACY_SIGNS) { // Paper
|
+ if (CONVERT_LEGACY_SIGNS) { // Paper
|
||||||
tag.putBoolean("Bukkit.isConverted", true);
|
nbt.putBoolean("Bukkit.isConverted", true);
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
Loading…
Reference in a new issue