mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-31 09:33:43 +01:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			fix/add-mi
			...
			fix/missin
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 932b7d1a4e | ||
|   | f867867a42 | 
| @@ -1167,7 +1167,7 @@ public class PlayerEventListener implements Listener { | |||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 if (type.isEdible()) { |                 if (type.isEdible()) { | ||||||
|                     //Allow all players to eat while also allowing the block place event ot be fired |                     //Allow all players to eat while also allowing the block place event to be fired | ||||||
|                     return; |                     return; | ||||||
|                 } |                 } | ||||||
|                 if (type == Material.ARMOR_STAND) { |                 if (type == Material.ARMOR_STAND) { | ||||||
|   | |||||||
| @@ -60,6 +60,19 @@ public final class UncheckedWorldLocation extends Location { | |||||||
|         return new UncheckedWorldLocation(world, x, y, z); |         return new UncheckedWorldLocation(world, x, y, z); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     /** | ||||||
|  |      * Construct a new location with yaw and pitch equal to 0 | ||||||
|  |      * | ||||||
|  |      * @param world World | ||||||
|  |      * @param loc   Coordinates | ||||||
|  |      * @return New location | ||||||
|  |      * @since 6.9.0 | ||||||
|  |      */ | ||||||
|  |     @DoNotUse | ||||||
|  |     public static @NonNull UncheckedWorldLocation at(final @NonNull String world, BlockVector3 loc) { | ||||||
|  |         return new UncheckedWorldLocation(world, loc.getX(), loc.getY(), loc.getZ()); | ||||||
|  |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     @DoNotUse |     @DoNotUse | ||||||
|     public @NonNull String getWorldName() { |     public @NonNull String getWorldName() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user