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; facing = BlockFace.SOUTH;
} }
block.setType(Material.LEGACY_WALL_SIGN, false); block.setType(Material.LEGACY_WALL_SIGN, false);
final Rotatable sign = (Rotatable) block.getBlockData(); Bukkit.getConsoleSender().sendMessage("Please report to MattBDev on Discord: " + block.getBlockData().getClass().getName());
sign.setRotation(facing); //final Rotatable sign = (Rotatable) block.getBlockData();
block.setBlockData(sign, false); //sign.setRotation(facing);
//block.setBlockData(sign, false);
} }
final BlockState blockstate = block.getState(); final BlockState blockstate = block.getState();
if (blockstate instanceof Sign) { if (blockstate instanceof Sign) {