Fix shop limit permission.

This commit is contained in:
Len committed 2022-09-18 10:15:07 +02:00
1 parent 2b0ce135c5
commit a6fe300a67
1 file changed
+1 -1
@@ -70,7 +70,7 @@ public class PlayerListener extends EventListener {
} catch (Exception ignore) {} } catch (Exception ignore) {}
} }
} }
if (buildPermissionNumber == -1) if (buildPermissionNumber != -1)
shopHandler.addPlayerLimit(player.getUniqueId(), buildPermissionNumber); shopHandler.addPlayerLimit(player.getUniqueId(), buildPermissionNumber);
} }