UHC stuff

This commit is contained in:
Chiss 2013-12-07 23:04:10 +11:00
parent db7b4f3a40
commit 2fb4bc4fbc
2 changed files with 5 additions and 2 deletions

View File

@ -325,6 +325,9 @@ public class UHC extends TeamGame
this.WorldData.MinZ = -_borders; this.WorldData.MinZ = -_borders;
this.WorldData.MaxZ = _borders; this.WorldData.MaxZ = _borders;
this.WorldData.MinY = -1000;
this.WorldData.MaxY = 1000;
for (int y=0 ; y<128 ; y++) for (int y=0 ; y<128 ; y++)
for (int x=-_borders ; x<_borders ; x++) for (int x=-_borders ; x<_borders ; x++)
for (int z=-_borders ; z<_borders ; z++) for (int z=-_borders ; z<_borders ; z++)

View File

@ -61,10 +61,10 @@ public class GameChatManager implements Listener
//Rank Prefix //Rank Prefix
String rankStr = ""; String rankStr = "";
if (rank != Rank.ALL) if (rank != Rank.ALL && (Manager.GetGame() != null && Manager.GetGame().GetType() != GameType.UHC))
rankStr = rank.GetTag(true, true) + " "; rankStr = rank.GetTag(true, true) + " ";
if (ownsUltra && !rank.Has(Rank.ULTRA)) if (ownsUltra && !rank.Has(Rank.ULTRA) && (Manager.GetGame() != null && Manager.GetGame().GetType() != GameType.UHC))
rankStr = Rank.ULTRA.GetTag(true, true) + " "; rankStr = Rank.ULTRA.GetTag(true, true) + " ";
//Base Format //Base Format