mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Made SMServerInterface.setBlockData() work better. Uses hey0's API now rather than accessing the Minecraft server directly.
This commit is contained in:
parent
ca1e522499
commit
194e162638
@ -61,7 +61,7 @@ public class SMServerInterface implements ServerInterface {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public void setBlockData(Vector pt, int data) {
|
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);
|
pt.getBlockZ(), data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user