From 194e162638e05ded533b1fdb3d2eced58193643d Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 24 Oct 2010 23:45:49 -0700 Subject: [PATCH] Made SMServerInterface.setBlockData() work better. Uses hey0's API now rather than accessing the Minecraft server directly. --- src/SMServerInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMServerInterface.java b/src/SMServerInterface.java index 34b7b12d3..28c411efd 100644 --- a/src/SMServerInterface.java +++ b/src/SMServerInterface.java @@ -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); }