Made SMServerInterface.setBlockData() work better. Uses hey0's API now rather than accessing the Minecraft server directly.

This commit is contained in:
sk89q 2010-10-24 23:45:49 -07:00
parent ca1e522499
commit 194e162638

View File

@ -61,7 +61,7 @@ public class SMServerInterface implements ServerInterface {
* @return
*/
public void setBlockData(Vector pt, int data) {
etc.getMCServer().e.c(pt.getBlockX(), pt.getBlockY(),
etc.getServer().setBlockData(pt.getBlockX(), pt.getBlockY(),
pt.getBlockZ(), data);
}