mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-06-25 22:24:49 +02:00
Fix (AutoSell) Item-Filters not being saved correctly for next srv start
When the AutoSell filters are saved, they got saved as the normal item filter instead. On next server start, when loading all the Hoppers from the database, the AutoSell filter would be empty again and the item filter got overwritten.
This commit is contained in:
parent
38d9995d6c
commit
b38d6cbf3a
|
@ -164,7 +164,7 @@ public class GUIAutoSellFilter extends CustomizableGui {
|
|||
|
||||
filter.setAutoSellWhiteList(whiteListItems);
|
||||
filter.setAutoSellBlackList(blackListItems);
|
||||
plugin.getDataManager().updateItems(hopper, ItemType.WHITELIST, whiteListItems);
|
||||
plugin.getDataManager().updateItems(hopper, ItemType.BLACKLIST, blackListItems);
|
||||
plugin.getDataManager().updateItems(hopper, ItemType.AUTO_SELL_WHITELIST, whiteListItems);
|
||||
plugin.getDataManager().updateItems(hopper, ItemType.AUTO_SELL_BLACKLIST, blackListItems);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user