mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Rebuild patches
This commit is contained in:
@@ -7,7 +7,7 @@ Makes it so that when a TileEntity is placed in the world and then broken,
|
||||
the dropped ItemStack retains any original custom display name/lore.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/Block.java b/src/main/java/net/minecraft/server/Block.java
|
||||
index 4aa2b38f1..f86390999 100644
|
||||
index 4aa2b38f18..f863909992 100644
|
||||
--- a/src/main/java/net/minecraft/server/Block.java
|
||||
+++ b/src/main/java/net/minecraft/server/Block.java
|
||||
@@ -207,6 +207,7 @@ public class Block extends BlockBase implements IMaterial {
|
||||
@@ -74,7 +74,7 @@ index 4aa2b38f1..f86390999 100644
|
||||
public static void a(World world, BlockPosition blockposition, ItemStack itemstack) {
|
||||
if (!world.isClientSide && !itemstack.isEmpty() && world.getGameRules().getBoolean(GameRules.DO_TILE_DROPS)) {
|
||||
diff --git a/src/main/java/net/minecraft/server/ItemBlock.java b/src/main/java/net/minecraft/server/ItemBlock.java
|
||||
index bbb1de7d1..d97efe3d4 100644
|
||||
index bbb1de7d1a..d97efe3d47 100644
|
||||
--- a/src/main/java/net/minecraft/server/ItemBlock.java
|
||||
+++ b/src/main/java/net/minecraft/server/ItemBlock.java
|
||||
@@ -96,7 +96,24 @@ public class ItemBlock extends Item {
|
||||
@@ -104,7 +104,7 @@ index bbb1de7d1..d97efe3d4 100644
|
||||
|
||||
@Nullable
|
||||
diff --git a/src/main/java/net/minecraft/server/TileEntity.java b/src/main/java/net/minecraft/server/TileEntity.java
|
||||
index d32540c88..13460df02 100644
|
||||
index d32540c88b..13460df026 100644
|
||||
--- a/src/main/java/net/minecraft/server/TileEntity.java
|
||||
+++ b/src/main/java/net/minecraft/server/TileEntity.java
|
||||
@@ -90,9 +90,25 @@ public abstract class TileEntity implements KeyedObject { // Paper
|
||||
@@ -160,7 +160,7 @@ index d32540c88..13460df02 100644
|
||||
+ // Purpur end
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 67b899667..68ae62477 100644
|
||||
index caef18518b..a36989d2b3 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -182,6 +182,7 @@ public class PurpurWorldConfig {
|
||||
Reference in New Issue
Block a user