Skip to content

feat: intercept BentoBox player reset events when player is in non-Be…

b6ae2ed
Select commit
Loading
Failed to load commit list.
Merged

Intercept BentoBox player reset events to protect non-BentoBox world inventories #49

feat: intercept BentoBox player reset events when player is in non-Be…
b6ae2ed
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 23, 2026 in 27s

Annotations

Check failure on line 697 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGC&open=AZ5TFMQ_W21o6EbfgxGC&pullRequest=49

Check failure on line 729 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGE&open=AZ5TFMQ_W21o6EbfgxGE&pullRequest=49

Check warning on line 766 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGL&open=AZ5TFMQ_W21o6EbfgxGL&pullRequest=49

Check warning on line 713 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGI&open=AZ5TFMQ_W21o6EbfgxGI&pullRequest=49

Check warning on line 388 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxFy&open=AZ5TFMOCW21o6EbfgxFy&pullRequest=49

Check warning on line 793 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGN&open=AZ5TFMQ_W21o6EbfgxGN&pullRequest=49

Check warning on line 336 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "island" which hides the field declared at line 74.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxGA&open=AZ5TFMOCW21o6EbfgxGA&pullRequest=49

Check warning on line 421 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF0&open=AZ5TFMOCW21o6EbfgxF0&pullRequest=49

Check warning on line 656 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGF&open=AZ5TFMQ_W21o6EbfgxGF&pullRequest=49

Check warning on line 507 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF5&open=AZ5TFMOCW21o6EbfgxF5&pullRequest=49

Check warning on line 317 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "island" which hides the field declared at line 74.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF_&open=AZ5TFMOCW21o6EbfgxF_&pullRequest=49

Check warning on line 254 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "island" which hides the field declared at line 74.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF9&open=AZ5TFMOCW21o6EbfgxF9&pullRequest=49

Check warning on line 697 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGH&open=AZ5TFMQ_W21o6EbfgxGH&pullRequest=49

Check warning on line 777 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGM&open=AZ5TFMQ_W21o6EbfgxGM&pullRequest=49

Check warning on line 277 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "island" which hides the field declared at line 74.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF-&open=AZ5TFMOCW21o6EbfgxF-&pullRequest=49

Check warning on line 456 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF2&open=AZ5TFMOCW21o6EbfgxF2&pullRequest=49

Check warning on line 811 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGO&open=AZ5TFMQ_W21o6EbfgxGO&pullRequest=49

Check warning on line 729 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGJ&open=AZ5TFMQ_W21o6EbfgxGJ&pullRequest=49

Check warning on line 490 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF4&open=AZ5TFMOCW21o6EbfgxF4&pullRequest=49

Check warning on line 223 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "island" which hides the field declared at line 74.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF7&open=AZ5TFMOCW21o6EbfgxF7&pullRequest=49

Check warning on line 682 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGG&open=AZ5TFMQ_W21o6EbfgxGG&pullRequest=49

Check warning on line 237 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "island" which hides the field declared at line 74.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF8&open=AZ5TFMOCW21o6EbfgxF8&pullRequest=49

Check failure on line 682 in src/test/java/com/wasteofplastic/invswitcher/StoreTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMQ_W21o6EbfgxGB&open=AZ5TFMQ_W21o6EbfgxGB&pullRequest=49

Check warning on line 211 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "island" which hides the field declared at line 74.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF6&open=AZ5TFMOCW21o6EbfgxF6&pullRequest=49

Check warning on line 473 in src/test/java/com/wasteofplastic/invswitcher/listeners/PlayerListenerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_addon-invSwitcher&issues=AZ5TFMOCW21o6EbfgxF3&open=AZ5TFMOCW21o6EbfgxF3&pullRequest=49