aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0155-Disable-ticking-of-snow-blocks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Spigot-Server-Patches/0155-Disable-ticking-of-snow-blocks.patch')
-rw-r--r--Spigot-Server-Patches/0155-Disable-ticking-of-snow-blocks.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0155-Disable-ticking-of-snow-blocks.patch b/Spigot-Server-Patches/0155-Disable-ticking-of-snow-blocks.patch
new file mode 100644
index 0000000000..2cd020d0ed
--- /dev/null
+++ b/Spigot-Server-Patches/0155-Disable-ticking-of-snow-blocks.patch
@@ -0,0 +1,38 @@
+From 28b204d655e85d71f2b53e4a2e178037a42e47bf Mon Sep 17 00:00:00 2001
+From: killme <[email protected]>
+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
+index 8123d7295..b6765e5bc 100644
+--- a/src/main/java/net/minecraft/server/BlockSnowBlock.java
++++ b/src/main/java/net/minecraft/server/BlockSnowBlock.java
+@@ -6,7 +6,7 @@ public class BlockSnowBlock extends Block {
+
+ protected BlockSnowBlock() {
+ super(Material.SNOW_BLOCK);
+- this.a(true);
++ // this.a(true); // Paper - snow blocks don't need to tick
+ this.a(CreativeModeTab.b);
+ }
+
+@@ -18,6 +18,8 @@ public class BlockSnowBlock extends Block {
+ return 4;
+ }
+
++ // Paper start - snow blocks don't need to tick
++ /*
+ public void b(World world, BlockPosition blockposition, IBlockData iblockdata, Random random) {
+ if (world.getBrightness(EnumSkyBlock.BLOCK, blockposition) > 11) {
+ // CraftBukkit start
+@@ -30,4 +32,6 @@ public class BlockSnowBlock extends Block {
+ }
+
+ }
++ */
++ //Paper end
+ }
+--
+2.12.0.windows.1
+