mirror of
				https://e.coding.net/circlecloud/QuickShop.git
				synced 2025-11-03 17:56:41 +00:00 
			
		
		
		
	@@ -695,8 +695,14 @@ public class ContainerShop implements Shop {
 | 
			
		||||
                this.displayItem = null;
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            if (this.getLocation().getWorld() == null) {
 | 
			
		||||
                return;// Ignore if world not loaded...
 | 
			
		||||
            }
 | 
			
		||||
            final DisplayItem disItem = this.getDisplayItem();
 | 
			
		||||
            final Location dispLoc = disItem.getDisplayLocation();
 | 
			
		||||
            if (dispLoc.getWorld() == null) {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            if (dispLoc.getBlock() != null && dispLoc.getBlock().getType() == Material.WATER) { // Flowing
 | 
			
		||||
                // water.Stationery water does not move items.
 | 
			
		||||
                disItem.remove();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user