@ -30,6 +30,8 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
@@ -30,6 +30,8 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
DestroyBuildingMsgmsg;
msg=(DestroyBuildingMsg)baseMsg;
Banebane=null;
Blueprintblueprint;
intbuildingUUID=msg.getUUID();
@ -38,10 +40,9 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
@@ -38,10 +40,9 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
if(pc==null||building==null)
returntrue;
Blueprintblueprint;
blueprint=building.getBlueprint();
Citycity=building.getCity();
// Can't destroy buildings without a blueprint.
if(blueprint==null)
@ -55,11 +56,17 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
@@ -55,11 +56,17 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {