mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Updated for SpoutAPI changes.
This commit is contained in:
parent
97876d8581
commit
29393a808b
@ -101,7 +101,7 @@ public static Player matchSinglePlayer(Engine game, String name) {
|
||||
}
|
||||
|
||||
public static Block toBlock(BlockWorldVector pt) {
|
||||
return toWorld(pt).getBlock(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ());
|
||||
return toWorld(pt).getBlock(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ(), WorldEditPlugin.getInstance());
|
||||
}
|
||||
|
||||
public static World toWorld(WorldVector pt) {
|
||||
|
Loading…
Reference in New Issue
Block a user