2016-10-21 23:08:34 +02:00
|
|
|
From 222eaff023f8aa11e1b15d48bd62702723f6e2e4 Mon Sep 17 00:00:00 2001
|
2016-08-30 16:42:17 +02: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
|
|
|
|
index 1c43a37..a3b1998 100644
|
|
|
|
--- a/src/main/java/net/minecraft/server/BlockSnowBlock.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockSnowBlock.java
|
|
|
|
@@ -7,7 +7,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);
|
|
|
|
}
|
|
|
|
|
|
|
|
@@ -20,6 +20,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.b(EnumSkyBlock.BLOCK, blockposition) > 11) {
|
|
|
|
this.b(world, blockposition, world.getType(blockposition), 0);
|
|
|
|
@@ -27,4 +29,6 @@ public class BlockSnowBlock extends Block {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
+ */
|
|
|
|
+ //Paper end
|
|
|
|
}
|
|
|
|
--
|
2016-10-21 22:42:49 +02:00
|
|
|
2.9.3
|
2016-08-30 16:42:17 +02:00
|
|
|
|