DownloadCommand #124
@ -37,10 +37,10 @@ public class DownloadCommand extends SWCommand {
|
|||||||
@Register(help = true)
|
@Register(help = true)
|
||||||
public void genericCommand(Player player, String... args) {
|
public void genericCommand(Player player, String... args) {
|
||||||
SteamwarUser user = SteamwarUser.get(player);
|
SteamwarUser user = SteamwarUser.get(player);
|
||||||
SchematicNode copyNode = SchematicNode.getSchematicNode(user.getId(), "/copy", 0);
|
SchematicNode copyNode = SchematicNode.getSchematicNode(user.getId(), "//copy", 0);
|
||||||
boolean newSchem = false;
|
boolean newSchem = false;
|
||||||
if(copyNode == null) {
|
if(copyNode == null) {
|
||||||
copyNode = SchematicNode.createSchematicNode(user.getId(), "/copy", 0, SchematicType.Normal.toDB(), "");
|
copyNode = SchematicNode.createSchematicNode(user.getId(), "//copy", 0, SchematicType.Normal.toDB(), "");
|
||||||
newSchem = true;
|
newSchem = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren