2014-06-22 11:25:10 +02:00
|
|
|
From 6239bc0c14d31525868b0177a39f6e477e77ce5f Mon Sep 17 00:00:00 2001
|
2014-04-12 06:18:37 +02:00
|
|
|
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
|
|
|
Date: Thu, 9 Jan 2014 14:19:12 +0000
|
|
|
|
Subject: [PATCH] Fix anvil collisions
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockAnvil.java b/src/main/java/net/minecraft/server/BlockAnvil.java
|
|
|
|
index 9e1ce2f..1fa14c5 100644
|
|
|
|
--- a/src/main/java/net/minecraft/server/BlockAnvil.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockAnvil.java
|
|
|
|
@@ -11,6 +11,15 @@ public class BlockAnvil extends BlockFalling {
|
|
|
|
this.a(CreativeModeTab.c);
|
|
|
|
}
|
|
|
|
|
|
|
|
+ // Spigot start
|
|
|
|
+ @Override
|
|
|
|
+ public AxisAlignedBB a( World world, int i, int j, int k )
|
|
|
|
+ {
|
|
|
|
+ updateShape( world, i, j, k );
|
|
|
|
+ return super.a( world, i, j, k );
|
|
|
|
+ }
|
|
|
|
+ // Spigot end
|
|
|
|
+
|
|
|
|
public boolean d() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
--
|
2014-04-19 01:15:23 +02:00
|
|
|
1.9.1
|
2014-04-12 06:18:37 +02:00
|
|
|
|