Paper/Spigot-Server-Patches/Disable-ticking-of-snow-blocks.patch

27 lines
946 B
Diff
Raw Normal View History

2016-08-30 16:42:17 +02:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: killme <killme-git@ibts.me>
Date: Tue, 30 Aug 2016 16:39:48 +0200
Subject: [PATCH] Disable ticking of snow blocks
diff --git a/src/main/java/net/minecraft/server/BlockSnowBlock.java b/src/main/java/net/minecraft/server/BlockSnowBlock.java
2018-07-23 10:39:55 +02:00
index 0c8f9d37fd..44ed656263 100644
2016-08-30 16:42:17 +02:00
--- a/src/main/java/net/minecraft/server/BlockSnowBlock.java
+++ b/src/main/java/net/minecraft/server/BlockSnowBlock.java
@@ -0,0 +0,0 @@ public class BlockSnowBlock extends Block {
return 4;
}
+ // Paper start - snow blocks don't need to tick
+ /*
public void a(IBlockData iblockdata, World world, BlockPosition blockposition, Random random) {
2016-11-17 03:23:38 +01:00
if (world.getBrightness(EnumSkyBlock.BLOCK, blockposition) > 11) {
2017-03-15 15:32:50 +01:00
// CraftBukkit start
2016-08-30 16:42:17 +02:00
@@ -0,0 +0,0 @@ public class BlockSnowBlock extends Block {
}
}
+ */
+ //Paper end
}
--