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