Class BlockLocation
java.lang.Object
org.sgrewritten.stargate.api.network.portal.BlockLocation
A class used to avoid memory leak from world unloading
-
Constructor Summary
ConstructorDescriptionBlockLocation
(org.bukkit.Location location) Instantiates a new block location -
Method Summary
-
Constructor Details
-
BlockLocation
public BlockLocation(org.bukkit.Location location) Instantiates a new block location- Parameters:
location
-The location this block location should represent
-
-
Method Details
-
getLocation
public org.bukkit.Location getLocation()Gets the location corresponding to this block location- Returns:
The location corresponding to this block location
-
hashCode
public int hashCode() -
equals
-
toString
-