PaperMC/paper-server/nms-patches/net/minecraft/world/level/block/WallHangingSignBlock.patch
CraftBukkit/Spigot bbb64e5e0e #1238: Remove unnecessary sign ticking
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:48 +11:00

10 lines
504 B
Diff

--- a/net/minecraft/world/level/block/WallHangingSignBlock.java
+++ b/net/minecraft/world/level/block/WallHangingSignBlock.java
@@ -186,6 +186,6 @@
@Nullable
@Override
public <T extends TileEntity> BlockEntityTicker<T> getTicker(World world, IBlockData iblockdata, TileEntityTypes<T> tileentitytypes) {
- return createTickerHelper(tileentitytypes, TileEntityTypes.HANGING_SIGN, TileEntitySign::tick);
+ return null; // Craftbukkit - remove unnecessary sign ticking
}
}