Update sign on shop load

This commit is contained in:
KaiKikuchi committed 2015-11-18 18:40:32 +01:00
1 parent cf5e9fd2e5
commit 5945dfcf1f
1 file changed
+4 -8
@@ -610,14 +610,7 @@ public class ContainerShop implements Shop {
}
DisplayItem disItem = this.getDisplayItem();
Location dispLoc = disItem.getDisplayLocation();
if (dispLoc.getBlock() != null && dispLoc.getBlock().getType() == Material.WATER) { // Flowing
// water.
// Stationery
// water
// does
// not
// move
// items.
if (dispLoc.getBlock() != null && dispLoc.getBlock().getType() == Material.WATER) {
disItem.remove();
return;
}
@@ -645,6 +638,9 @@ public class ContainerShop implements Shop {
public void onLoad() {
checkDisplay();
// update sign
this.setSignText();
}
public void onClick() {