mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-28 02:54:20 +01:00
Removed use of FormatUtils.formatLocation in PluginBridge
This commit is contained in:
parent
19068d8f81
commit
90fd06194b
@ -11,7 +11,7 @@ import com.djrapitops.plan.data.element.InspectContainer;
|
|||||||
import com.djrapitops.plan.data.element.TableContainer;
|
import com.djrapitops.plan.data.element.TableContainer;
|
||||||
import com.djrapitops.plan.data.plugin.ContainerSize;
|
import com.djrapitops.plan.data.plugin.ContainerSize;
|
||||||
import com.djrapitops.plan.data.plugin.PluginData;
|
import com.djrapitops.plan.data.plugin.PluginData;
|
||||||
import com.djrapitops.plan.utilities.FormatUtils;
|
import org.bukkit.Location;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
@ -73,7 +73,8 @@ public class RedProtectData extends PluginData {
|
|||||||
for (Region region : regions) {
|
for (Region region : regions) {
|
||||||
int area = region.getArea();
|
int area = region.getArea();
|
||||||
areaTotal += area;
|
areaTotal += area;
|
||||||
String location = FormatUtils.formatLocation(region.getCenterLoc());
|
Location center = region.getCenterLoc();
|
||||||
|
String location = "x: " + center.getBlockX() + ", z: " + center.getBlockZ();
|
||||||
String world = region.getWorld();
|
String world = region.getWorld();
|
||||||
regionTable.addRow(location, world, area);
|
regionTable.addRow(location, world, area);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user