Add blockdata as a valid falling block thing, requires setblockdata
This commit is contained in:
@@ -304,9 +304,13 @@ public class PacketHandlerSpawn implements IPacketHandler {
|
||||
double z = loc.getZ();
|
||||
|
||||
if (disguise.getType() == DisguiseType.FALLING_BLOCK) {
|
||||
ItemStack block = ((FallingBlockWatcher) disguise.getWatcher()).getBlock();
|
||||
if (NmsVersion.v1_13.isSupported()) {
|
||||
|
||||
} else {
|
||||
ItemStack block = ((FallingBlockWatcher) disguise.getWatcher()).getBlock();
|
||||
data = ReflectionManager.getCombinedIdByItemStack(block);
|
||||
}
|
||||
|
||||
data = ReflectionManager.getCombinedIdByItemStack(block);
|
||||
|
||||
if (((FallingBlockWatcher) disguise.getWatcher()).isGridLocked()) {
|
||||
// Center the block
|
||||
|
Reference in New Issue
Block a user