mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-31 01:23:44 +01:00 
			
		
		
		
	Fixes #522
This commit is contained in:
		| @@ -293,8 +293,11 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain { | |||||||
|                                     } |                                     } | ||||||
|                                     Location loc = entity.getLocation(); |                                     Location loc = entity.getLocation(); | ||||||
|                                     if (MainUtil.isPlotRoad(BukkitUtil.getLocation(loc))) { |                                     if (MainUtil.isPlotRoad(BukkitUtil.getLocation(loc))) { | ||||||
|  |                                         Entity passenger = entity.getPassenger(); | ||||||
|  |                                         if (!(passenger instanceof Player)) { | ||||||
|                                             entity.remove(); |                                             entity.remove(); | ||||||
|                                         } |                                         } | ||||||
|  |                                     } | ||||||
|                                     break; |                                     break; | ||||||
|                                 } |                                 } | ||||||
|                             } |                             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 boy0001
					boy0001