Phoenix616
a9cb8096e6
Use InventoryHolder couldBeShopContainer check (Might help with #566 )
2023-09-22 01:45:45 +01:00
Krakenied
2ebc2f285b
Fix NFE and some other possible issues ( #502 )
...
Fixes #499
2022-02-17 16:34:25 +01:00
Phoenix616
99a609b423
Unify sign line parsing and strip owner line whitespace
2022-01-26 20:35:42 +01:00
Phoenix616
65df4c40c6
Improve performance by using Paper's non-snapshot states if available
2021-01-28 17:18:42 +01:00
Phoenix616
ba47b82ba1
Make Admin Shops use containers if available ( Resolves #402 )
...
Admin Shops can now be stocked the same way as player shops if a valid
shop container is nearby. If no container is nearby it will just work
as an unlimited shop.
This behaviour can be disabled with the FORCE_UNLIMITED_ADMIN_SHOP
config option so that an admin shop is unlimited even though a valid
container is next to it.
2021-01-24 23:33:36 +01:00
Phoenix616
9dce41aa30
Work around internal issue with ender chests
...
At the moment they can't be shops anyways so this shouldn't have any impact.
2020-12-20 14:50:57 +01:00
Phoenix616
4bd443c69f
Fix NPE in StockCounter for admin shops/missing containers
2020-11-02 01:08:15 +01:00
Phoenix616
7a1c091c74
Fix NPE in StockCounter on autofill/no item found ( Fixes #376 )
2020-11-02 01:06:48 +01:00
Brice Frisco
8d98958c2d
Stock Counter ( Resolves #365 ) ( #368 )
2020-10-30 22:45:16 +01:00