Dieser Commit ist enthalten in:
Ursprung
857c33978d
Commit
6ff7170310
@ -80,7 +80,7 @@ public class SchematicValidator {
|
|||||||
if(!nodeNullCheck(messageSender, schematicNode)) {
|
if(!nodeNullCheck(messageSender, schematicNode)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(schematicNode.getOwner() != SteamwarUser.get(((Player) commandSender).getUniqueId()).getId()) {
|
if(schematicNode.getOwner() != SchematicCommandUtils.getUser((Player) commandSender).getId()) {
|
||||||
messageSender.send("COMMAND_NOT_OWN");
|
messageSender.send("COMMAND_NOT_OWN");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,6 @@ public class ModifyPart extends SWCommand {
|
|||||||
|
|
||||||
@Register("changetype")
|
@Register("changetype")
|
||||||
public void changeType(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) {
|
public void changeType(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) {
|
||||||
SteamwarUser user = getUser(player);
|
|
||||||
TextComponent base = new TextComponent();
|
TextComponent base = new TextComponent();
|
||||||
|
|
||||||
Clipboard clipboard = null;
|
Clipboard clipboard = null;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren