2018-07-19 04:42:43 +00:00
|
|
|
From 27d2d5a316ab5a3c70afafb1fec9c236c35b02ab Mon Sep 17 00:00:00 2001
|
2016-08-30 14:42:17 +00:00
|
|
|
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-16 20:08:09 +00:00
|
|
|
index 0c8f9d37f..44ed65626 100644
|
2016-08-30 14:42:17 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/BlockSnowBlock.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockSnowBlock.java
|
2018-07-16 20:08:09 +00:00
|
|
|
@@ -16,6 +16,8 @@ public class BlockSnowBlock extends Block {
|
2016-08-30 14:42:17 +00:00
|
|
|
return 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ // Paper start - snow blocks don't need to tick
|
|
|
|
+ /*
|
2018-07-16 20:08:09 +00:00
|
|
|
public void a(IBlockData iblockdata, World world, BlockPosition blockposition, Random random) {
|
2016-11-17 02:23:38 +00:00
|
|
|
if (world.getBrightness(EnumSkyBlock.BLOCK, blockposition) > 11) {
|
2017-03-15 14:32:50 +00:00
|
|
|
// CraftBukkit start
|
2018-07-16 20:08:09 +00:00
|
|
|
@@ -28,4 +30,6 @@ public class BlockSnowBlock extends Block {
|
2016-08-30 14:42:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
+ */
|
|
|
|
+ //Paper end
|
|
|
|
}
|
|
|
|
--
|
2018-07-04 07:55:24 +00:00
|
|
|
2.18.0
|
2016-08-30 14:42:17 +00:00
|
|
|
|