mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-08-31 00:39:43 +02:00
Reverting... wtf
This commit is contained in:
parent
c248d419bb
commit
ba760b69ae
|
@ -187,7 +187,7 @@ public class Board
|
|||
|
||||
int halfWidth = Conf.mapWidth / 2;
|
||||
int halfHeight = Conf.mapHeight / 2;
|
||||
FLocation topLeft = flocation.getRelative(-halfWidth, -halfHeight);
|
||||
FLocation topLeft = flocation.getRelative(-halfHeight, halfWidth);
|
||||
int width = halfWidth * 2 + 1;
|
||||
int height = halfHeight * 2 + 1;
|
||||
|
||||
|
@ -199,13 +199,13 @@ public class Board
|
|||
int chrIdx = 0;
|
||||
|
||||
// For each row
|
||||
for (int dz = 0; dz < height; dz++)
|
||||
for (int dx = 0; dx < height; dx++)
|
||||
{
|
||||
// Draw and add that row
|
||||
String row = "";
|
||||
for (int dx = 0; dx < width; dx++)
|
||||
for (int dz = 0; dz > -width; dz--)
|
||||
{
|
||||
if(dx == halfWidth && dz == halfHeight)
|
||||
if(dz == -(halfWidth) && dx == halfHeight)
|
||||
{
|
||||
row += ChatColor.AQUA+"+";
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user