forked from MagicBane/Server
City realm id lookup not db load
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package engine.net.client.handlers;
|
||||
|
||||
import engine.mbEnums;
|
||||
import engine.InterestManagement.RealmMap;
|
||||
import engine.exception.MsgSendException;
|
||||
import engine.gameManager.BuildingManager;
|
||||
import engine.mbEnums;
|
||||
import engine.net.Dispatch;
|
||||
import engine.net.DispatchMessage;
|
||||
import engine.net.client.ClientConnection;
|
||||
@@ -72,7 +72,8 @@ public class TaxCityMsgHandler extends AbstractClientMsgHandler {
|
||||
// return true;
|
||||
// }
|
||||
|
||||
if (playerGuild.getOwnedCity().getRealm() == null) {
|
||||
City city1 = playerGuild.getOwnedCity();
|
||||
if (city1.realm == null) {
|
||||
ErrorPopupMsg.sendErrorMsg(player, "Cannot find realm for your city!");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user