mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-28 02:59:13 +00:00
Fix unlocked maps getting wrongly locked
This commit is contained in:
@@ -77,7 +77,7 @@ public class BukkitMapHandler {
|
||||
}
|
||||
|
||||
final MapMeta mapMeta = (MapMeta) itemStack.getItemMeta();
|
||||
if (mapMeta == null) {
|
||||
if (mapMeta == null || mapMeta.getMapView() == null || !mapMeta.getMapView().isLocked()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user