Updated player burial to use 1.13+ materials
This commit is contained in:
parent
7e7d94c2f2
commit
c1e41b96c8
@ -102,8 +102,8 @@ public class BuryPlayer extends Core {
|
||||
final Sign sign = (Sign) signblock.getState();
|
||||
sign.setLine(1, playername);
|
||||
sign.update();
|
||||
loc.getWorld().getBlockAt(X, Y - 1, Z).setTypeIdAndData(98, (byte) 2, false);
|
||||
loc.getWorld().getBlockAt(X, Y - 1, Z - 1).setTypeIdAndData(98, (byte) 2, false);
|
||||
loc.getWorld().getBlockAt(X, Y - 1, Z).setType(Material.STONE_BRICKS, false);
|
||||
loc.getWorld().getBlockAt(X, Y - 1, Z - 1).setType(Material.STONE_BRICKS, false);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user