Adds a warning against treating BlockLocation as a Location
This commit is contained in:
parent
a5cf1a7cd3
commit
5a9d70f827
@ -33,7 +33,9 @@ import org.bukkit.block.data.type.WallSign;
|
|||||||
/**
|
/**
|
||||||
* This class represents a block location
|
* This class represents a block location
|
||||||
*
|
*
|
||||||
* <p>The BlockLocation class is basically a Location with some extra functionality.</p>
|
* <p>The BlockLocation class is basically a Location with some extra functionality.
|
||||||
|
* Warning: Because of differences in the equals methods between Location and BlockLocation, a BlockLocation which
|
||||||
|
* equals another BlockLocation does not necessarily equal the name BlockLocation if treated as a Location.</p>
|
||||||
*/
|
*/
|
||||||
public class BlockLocation extends Location {
|
public class BlockLocation extends Location {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user