Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Updated for new Minecraft server.
Dieser Commit ist enthalten in:
Ursprung
3cbc5b22a4
Commit
46b74bd6bc
@ -39,8 +39,9 @@ public class SMServerInterface implements ServerInterface {
|
|||||||
if ((type >= 21 && type <= 34) || type == 36) {
|
if ((type >= 21 && type <= 34) || type == 36) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return etc.getMCServer().e.d(pt.getBlockX(), pt.getBlockY(),
|
etc.getServer().setBlockAt(type, pt.getBlockX(), pt.getBlockY(),
|
||||||
pt.getBlockZ(), type);
|
pt.getBlockZ());
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -50,7 +51,8 @@ public class SMServerInterface implements ServerInterface {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public int getBlockType(Vector pt) {
|
public int getBlockType(Vector pt) {
|
||||||
return etc.getMCServer().e.a(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ());
|
return etc.getServer().getBlockIdAt(pt.getBlockX(), pt.getBlockY(),
|
||||||
|
pt.getBlockZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -72,7 +74,8 @@ public class SMServerInterface implements ServerInterface {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public int getBlockData(Vector pt) {
|
public int getBlockData(Vector pt) {
|
||||||
return etc.getMCServer().e.b(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ());
|
return etc.getServer().getBlockData(pt.getBlockX(), pt.getBlockY(),
|
||||||
|
pt.getBlockZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren