forked from MagicBane/Server
load mesh data and structure meshes
This commit is contained in:
@@ -49,11 +49,13 @@ public class RegionCmd extends AbstractDevCmd {
|
||||
}
|
||||
if(building != null){
|
||||
for (Mesh mesh : building.buildingMeshes){
|
||||
if(mesh.boundsRect.contains(pc.loc.x,pc.loc.z))
|
||||
if(mesh.boundsRect.contains(pc.loc.x,pc.loc.z)) {
|
||||
this.throwbackInfo(pc, "Inside A Mesh's Bounds");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.throwbackInfo(pc, "Outside All Mesh Bounds");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user