mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 03:25:13 +01:00
Don't compute a global npc shop if absent
This commit is contained in:
parent
2c25291676
commit
8b4a4dd48c
@ -34,7 +34,7 @@ public class StoredShops {
|
||||
}
|
||||
|
||||
public NPCShop getGlobalShop(String name) {
|
||||
return globalShops.computeIfAbsent(name, NPCShop::new);
|
||||
return globalShops.get(name);
|
||||
}
|
||||
|
||||
public NPCShop getShop(String name) {
|
||||
|
Loading…
Reference in New Issue
Block a user