Skip to content

Commit

Permalink
throw away unused SpiFix class
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Apr 12, 2024
1 parent b4a6363 commit 1df593e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 278 deletions.
9 changes: 0 additions & 9 deletions core/src/main/java/net/pl3x/map/core/Pl3xMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,6 @@ public abstract class Pl3xMap {
public Pl3xMap(boolean isBukkit) {
this.isBukkit = isBukkit;

/*try {
// Due to these bugs(?) in spi
// * relocated libraries cant find their services (xnio fails)
// * imageio fails to find twelvemonkeys spis at all
// I am forced to load them all myself instead of relying on the META-INF
SpiFix.forceRegisterSpis();
} catch (Throwable ignore) {
}*/

try {
Field api = Provider.class.getDeclaredField("api");
api.setAccessible(true);
Expand Down
269 changes: 0 additions & 269 deletions core/src/main/java/net/pl3x/map/core/util/SpiFix.java

This file was deleted.

0 comments on commit 1df593e

Please sign in to comment.