Send to @Sotr

Former-commit-id: b9b1354c71823be138b01bbec8152412cd96534a [formerly ae0f2c6d2ae91248cfa34a42de6cf618b0ab328b]
Former-commit-id: 6f7a7cd158c84a50f85d9ed3f8c0085aa3529898
This commit is contained in:
Ghost_chu committed 2018-11-06 19:16:51 +08:00
1 parent c97226e619
commit 4e43b588ba
1 file changed
+3
@@ -402,6 +402,8 @@ public class ShopManager {
}
// Figures out which way we should put the sign on and
// sets its text.
/**@TODO Some user feedback have issues in lastet build.**/
if (info.getSignBlock() != null && info.getSignBlock().getType() == Material.AIR && plugin.getConfig().getBoolean("shop.auto-sign")) {
final BlockState bs = info.getSignBlock().getState();
final BlockFace bf = info.getLocation().getBlock().getFace(info.getSignBlock());
@@ -411,6 +413,7 @@ public class ShopManager {
bs.setData(sign);
bs.update(true);
shop.setSignText();
/*
* Block b = shop.getLocation().getBlock();
* ItemFrame iFrame = (ItemFrame)