Temporary fix for a working 1.14 build

This commit is contained in:
MattBDev 2019-04-23 14:41:20 -04:00
parent b2b2f3cd05
commit 9b3ca4468c

View File

@ -342,9 +342,10 @@ import java.util.*;
facing = BlockFace.SOUTH;
}
block.setType(Material.LEGACY_WALL_SIGN, false);
final Rotatable sign = (Rotatable) block.getBlockData();
sign.setRotation(facing);
block.setBlockData(sign, false);
Bukkit.getConsoleSender().sendMessage("Please report to MattBDev on Discord: " + block.getBlockData().getClass().getName());
//final Rotatable sign = (Rotatable) block.getBlockData();
//sign.setRotation(facing);
//block.setBlockData(sign, false);
}
final BlockState blockstate = block.getState();
if (blockstate instanceof Sign) {