Fix persisted locked map banner rotation

feat/data-edit-commands
William 1 year ago
parent b205643fdd
commit aa09639e55
No known key found for this signature in database

@ -321,7 +321,7 @@ public interface BukkitMapPersister {
return new MapCursor(
(byte) banner.getPosition().getX(),
(byte) banner.getPosition().getZ(),
(byte) 0,
(byte) 8, // Always rotate banners upright
switch (banner.getColor().toLowerCase(Locale.ENGLISH)) {
case "white" -> MapCursor.Type.BANNER_WHITE;
case "orange" -> MapCursor.Type.BANNER_ORANGE;

Loading…
Cancel
Save