Fixed compilation

This commit is contained in:
Anuken
2019-12-26 19:40:54 -05:00
parent de5979f4ee
commit 4858e602ed
18 changed files with 129 additions and 103 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ public class EditorTile extends Tile{
return;
}
if(getTeamID() == (int)team.id) return;
if(getTeamID() == team.id) return;
op(OpType.team, getTeamID());
super.setTeam(team);
}
@@ -415,7 +415,7 @@ public class MapGenerateDialog extends FloatingDialog{
this.floor = floor.id;
this.block = wall.id;
this.ore = ore.id;
this.team = (byte) (int)team.id;
this.team = (byte) team.id;
this.rotation = (byte)rotation;
}