Updated for SpoutAPI changes.

This commit is contained in:
TomyLobo 2012-07-28 14:48:38 +02:00
parent 97876d8581
commit 29393a808b

View File

@ -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) {