mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 09:59:42 -05:00
Added a whole buncha overloads for Location in World
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
1 parent
9adb4e4d92
commit
d7633fa07b
2 files changed
+34
-1
No files matched your search
@@ -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