Bad fix for slabs issue

This commit is contained in:
libraryaddict 2013-12-22 18:13:12 +13:00
parent 038b6478ea
commit 2f1127e126

View File

@ -289,8 +289,8 @@ public class ReflectionManager {
public static void setSize(Entity entity, float[] size) { public static void setSize(Entity entity, float[] size) {
try { try {
getNmsClass("Entity").getField("length").setFloat(getNmsEntity(entity), size[0]); getNmsClass("Entity").getField("length").setFloat(getNmsEntity(entity), size[0]);
getNmsClass("Entity").getField("width").setFloat(getNmsEntity(entity), size[1]); // getNmsClass("Entity").getField("width").setFloat(getNmsEntity(entity), size[1]);
getNmsClass("Entity").getField("height").setFloat(getNmsEntity(entity), size[2]); // getNmsClass("Entity").getField("height").setFloat(getNmsEntity(entity), size[2]);
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
} }