Fixed falling block

This commit is contained in:
libraryaddict 2016-07-08 22:13:40 +12:00
parent e6627c1fea
commit 7460ba3012

View File

@ -964,6 +964,19 @@ public class ReflectionManager
{
ex.printStackTrace();
}
} else if (value instanceof BlockPosition)
{
BlockPosition pos = (BlockPosition) value;
try
{
return getNmsConstructor("BlockPosition", int.class, int.class, int.class).newInstance(pos.getX(),
pos.getY(), pos.getZ());
}
catch (Exception ex)
{
ex.printStackTrace();
}
}
return value;