1.13 update

Mostly changes with Material.java
This commit is contained in:
Magnus Ulf
2018-12-22 23:59:12 +01:00
parent ad052f762e
commit c0041e60e2
7 changed files with 94 additions and 125 deletions

View File

@@ -68,8 +68,8 @@ public class CmdFactionsSeeChunkOld extends FactionsCommand
{
Location loc = new Location(world, blockX, blockY, blockZ);
if (loc.getBlock().getType() != Material.AIR) continue;
int typeId = blockY % 5 == 0 ? Material.GLOWSTONE.getId() : Material.GLASS.getId();
VisualizeUtil.addLocation(player, loc, typeId);
Material type = blockY % 5 == 0 ? Material.GLOWSTONE : Material.GLASS;
VisualizeUtil.addLocation(player, loc, type);
}
}