mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 15:42:19 -07:00
Added a whole buncha overloads for Location in World
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -52,7 +52,7 @@ public class Location implements Cloneable {
|
||||
* @return Block at the represented location
|
||||
*/
|
||||
public Block getBlock() {
|
||||
return world.getBlockAt(getBlockX(), getBlockY(), getBlockZ());
|
||||
return world.getBlockAt(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user