From 2f1127e126f6dd51cb7c2e5d9d770022623b59aa Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 22 Dec 2013 18:13:12 +1300 Subject: [PATCH] Bad fix for slabs issue --- .../libraryaddict/disguise/utilities/ReflectionManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java index a7cd24dc..b32405a4 100644 --- a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java +++ b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java @@ -289,8 +289,8 @@ public class ReflectionManager { public static void setSize(Entity entity, float[] size) { try { getNmsClass("Entity").getField("length").setFloat(getNmsEntity(entity), size[0]); - getNmsClass("Entity").getField("width").setFloat(getNmsEntity(entity), size[1]); - getNmsClass("Entity").getField("height").setFloat(getNmsEntity(entity), size[2]); + // getNmsClass("Entity").getField("width").setFloat(getNmsEntity(entity), size[1]); + // getNmsClass("Entity").getField("height").setFloat(getNmsEntity(entity), size[2]); } catch (Exception ex) { ex.printStackTrace(); }