mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Update sign on shop load
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user