summaryrefslogtreecommitdiffstats
path: root/nms-patches/ShapeDetectorBlock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ShapeDetectorBlock.patch')
-rw-r--r--nms-patches/ShapeDetectorBlock.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/nms-patches/ShapeDetectorBlock.patch b/nms-patches/ShapeDetectorBlock.patch
deleted file mode 100644
index 9a28dffc..00000000
--- a/nms-patches/ShapeDetectorBlock.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- ../work/decompile-8eb82bde//net/minecraft/server/ShapeDetectorBlock.java 2015-02-02 20:26:40.044135504 +0000
-+++ src/main/java/net/minecraft/server/ShapeDetectorBlock.java 2015-02-02 20:26:40.056135504 +0000
-@@ -16,8 +16,10 @@
- }
-
- public IBlockData a() {
-- if (this.c == null && this.a.isLoaded(this.b)) {
-- this.c = this.a.getType(this.b);
-+ // CraftBukkit start - fix null pointer
-+ if (this.c == null) {
-+ this.c = this.a.isLoaded(this.b) ? this.a.getType(this.b) : Blocks.AIR.getBlockData();
-+ // CraftBukkit end
- }
-
- return this.c;