mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Prevented colored cloth blocks in SMServerInterface.
This commit is contained in:
parent
f1874efef9
commit
e83ec38d31
@ -32,6 +32,10 @@ public class SMServerInterface implements ServerInterface {
|
||||
* @return
|
||||
*/
|
||||
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(),
|
||||
pt.getBlockZ(), type);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user