Package com.sk89q.worldguard.util
Class Locations
java.lang.Object
com.sk89q.worldguard.util.Locations
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isDifferentBlock
(com.sk89q.worldedit.util.Location a, com.sk89q.worldedit.util.Location b) Tests whether two different locations are in two different blocks.
-
Method Details
-
isDifferentBlock
public static boolean isDifferentBlock(com.sk89q.worldedit.util.Location a, com.sk89q.worldedit.util.Location b) Tests whether two different locations are in two different blocks.- Parameters:
a
- The first locationb
- The second location- Returns:
- Whether the two locations are two different blocks
-