mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Switched undo/redo buffer to use BlockPoint. Added Point.toBlockPoint().
This commit is contained in:
@ -377,4 +377,13 @@ public class Point {
|
||||
public String toString() {
|
||||
return "(" + x + ", " + y + ", " + z + ")";
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a BlockPoint version.
|
||||
*
|
||||
* @return BlockPoint
|
||||
*/
|
||||
public BlockPoint toBlockPoint() {
|
||||
return new BlockPoint(this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user