Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Prevented colored cloth blocks in SMServerInterface.
Dieser Commit ist enthalten in:
Ursprung
f1874efef9
Commit
e83ec38d31
@ -32,6 +32,10 @@ public class SMServerInterface implements ServerInterface {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public boolean setBlockType(Vector pt, int type) {
|
public boolean setBlockType(Vector pt, int type) {
|
||||||
|
// Can't set colored cloth or crash
|
||||||
|
if ((type >= 21 && type <= 34) || type == 36) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return etc.getMCServer().e.d(pt.getBlockX(), pt.getBlockY(),
|
return etc.getMCServer().e.d(pt.getBlockX(), pt.getBlockY(),
|
||||||
pt.getBlockZ(), type);
|
pt.getBlockZ(), type);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren