From c4220dc24ff459639108d17aa63be152e3964b79 Mon Sep 17 00:00:00 2001 From: Christos Miniotis Date: Wed, 8 Aug 2018 04:06:36 +0300 Subject: Add Unit Tests for geHardness and getBlastResistance --- nms-patches/Block.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nms-patches') diff --git a/nms-patches/Block.patch b/nms-patches/Block.patch index 1c99929a..ee6badf7 100644 --- a/nms-patches/Block.patch +++ b/nms-patches/Block.patch @@ -1,5 +1,14 @@ --- a/net/minecraft/server/Block.java +++ b/net/minecraft/server/Block.java +@@ -17,7 +17,7 @@ + public static final RegistryBlocks REGISTRY = new RegistryBlocks(Block.a); + public static final RegistryBlockID REGISTRY_ID = new RegistryBlockID(); + protected final int g; +- protected final float strength; ++ public final float strength; // PAIL: private -> public + protected final float durability; + protected final boolean j; + protected final SoundEffectType stepSound; @@ -212,7 +212,7 @@ } -- cgit v1.2.3