Partial 7.0 merge - API preview
This commit is contained in:
@@ -147,7 +147,7 @@ public class Map implements Comparable<Map>, Publishable{
|
||||
public void addSteamID(String id){
|
||||
tags.put("steamid", id);
|
||||
|
||||
ui.editor.editor.tags.put("steamid", id);
|
||||
editor.tags.put("steamid", id);
|
||||
try{
|
||||
ui.editor.save();
|
||||
}catch(Exception e){
|
||||
@@ -160,7 +160,7 @@ public class Map implements Comparable<Map>, Publishable{
|
||||
public void removeSteamID(){
|
||||
tags.remove("steamid");
|
||||
|
||||
ui.editor.editor.tags.remove("steamid");
|
||||
editor.tags.remove("steamid");
|
||||
try{
|
||||
ui.editor.save();
|
||||
}catch(Exception e){
|
||||
@@ -204,7 +204,7 @@ public class Map implements Comparable<Map>, Publishable{
|
||||
@Override
|
||||
public boolean prePublish(){
|
||||
tags.put("author", player.name);
|
||||
ui.editor.editor.tags.put("author", tags.get("author"));
|
||||
editor.tags.put("author", tags.get("author"));
|
||||
ui.editor.save();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user