mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Fixes #414
This commit is contained in:
		@@ -375,7 +375,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
 | 
			
		||||
                            case ZOMBIE:
 | 
			
		||||
                            default: {
 | 
			
		||||
                                Location loc = entity.getLocation();
 | 
			
		||||
                                if (manager.getPlotIdAbs(pw, loc.getBlockX(), 0, loc.getBlockZ()) == null) {
 | 
			
		||||
                                if (MainUtil.isPlotRoad(BukkitUtil.getLocation(loc))) {
 | 
			
		||||
                                    entity.remove();
 | 
			
		||||
                                }
 | 
			
		||||
                                break;
 | 
			
		||||
 
 | 
			
		||||
@@ -167,7 +167,13 @@ public class PlotAnalysis {
 | 
			
		||||
                        public void run() {
 | 
			
		||||
                            analyzePlot(queuePlot, new RunnableVal<PlotAnalysis>() {
 | 
			
		||||
                                public void run() {
 | 
			
		||||
                                    try {
 | 
			
		||||
                                        wait(10000);
 | 
			
		||||
                                    } catch (InterruptedException e) {
 | 
			
		||||
                                        e.printStackTrace();
 | 
			
		||||
                                    }
 | 
			
		||||
                                    synchronized (lock) {
 | 
			
		||||
                                        MainUtil.runners.remove(queuePlot);
 | 
			
		||||
                                        lock.notify();
 | 
			
		||||
                                    }
 | 
			
		||||
                                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user