Skip to content
Success

Changes

Summary

  1. Release 1.12.0 (#24) (commit: c15c2e5) (details)
Commit c15c2e5082590a3c8637e07b55285887a8a0c50c by github
Release 1.12.0 (#24)

* Version 1.11.1

* Remove unused location setting

* Clean up code.

* Fixed test.

* Build against BentoBox 1.18 API

* Not allow null.

* Remove useless eq invocation

* Fixes major bug in InvSwitcher addon (#22)

There was a huge bug that always cleared a separated value, even if that is disabled in the config file.
The most important bug: if `inventory` or `ender-chest` separation is disabled, player inventories and ender chests would still be cleared without the ability to restore them.

* Remove unused method

* Version up

Switch to Java 17

* Added InventoryStorage test class.

* Update github script

* Added PlayerListener test class

* Added InvSwitcher test

* Clean up test class

* Chnaged package name and fixed onDisable() test

* Minor refactor to reduce complexity.

* Refactored to reduce complexity

* Remove unneeded default

* Code clean up from IntelliJ

* Remove unused default

* Remove nesting.

* Even less complexity!

* Redid Store test class

* Completed cache test.

* Updated dependencies

* Update Github Action build script

* Added distribution required for Github Action

* Update Jacoco

* Update pom.xml

* Update to BentoBox 2.0.0

* Update to 1.20.3

Also fixes test issue with Material being too big.

---------

Co-authored-by: BONNe <bonne@bonne.id.lv>
(commit: c15c2e5)
The file was modified .github/workflows/build.yml (diff)
The file was modified src/main/java/com/wasteofplastic/invswitcher/Settings.java (diff)
The file was removedsrc/main/java/com/wasteofplastic/invswitcher/dataObjects/InventoryStorage.java
The file was addedsrc/test/java/com/wasteofplastic/invswitcher/InvSwitcherTest.java
The file was modified src/main/java/com/wasteofplastic/invswitcher/Store.java (diff)
The file was modified pom.xml (diff)
The file was addedsrc/test/java/com/wasteofplastic/invswitcher/dataobjects/InventoryStorageTest.java
The file was addedsrc/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java
The file was addedsrc/main/java/com/wasteofplastic/invswitcher/dataobjects/InventoryStorage.java
The file was modified src/main/resources/config.yml (diff)
The file was modified src/test/java/com/wasteofplastic/invswitcher/StoreTest.java (diff)
The file was modified src/main/java/com/wasteofplastic/invswitcher/InvSwitcher.java (diff)