Skip to content

Commit

Permalink
Remove mixins error detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeregorix committed May 11, 2024
1 parent af882a3 commit c4c2adc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 70 deletions.
8 changes: 2 additions & 6 deletions src/main/java/net/smoofyuniverse/superpiston/SuperPiston.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2022 Hugo Dupanloup (Yeregorix)
* Copyright (c) 2018-2024 Hugo Dupanloup (Yeregorix)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -29,7 +29,6 @@
import net.smoofyuniverse.superpiston.config.world.WorldConfig;
import net.smoofyuniverse.superpiston.config.world.WorldConfig.Resolved;
import net.smoofyuniverse.superpiston.event.PistonListener;
import net.smoofyuniverse.superpiston.impl.internal.InternalServer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.spongepowered.api.Game;
Expand Down Expand Up @@ -123,10 +122,7 @@ public void onRefreshGame(RefreshGameEvent e) {

@Listener
public void onServerStarted(StartedEngineEvent<Server> e) {
if (e.engine() instanceof InternalServer)
LOGGER.info("SuperPiston {} was loaded successfully.", this.container.metadata().version());
else
LOGGER.error("!!WARNING!! SuperPiston was not loaded correctly. Be sure that the jar file is at the root of your mods folder!");
LOGGER.info("SuperPiston {} was loaded successfully.", this.container.metadata().version());
}

public Resolved getConfig(ServerWorld world) {
Expand Down

This file was deleted.

This file was deleted.

3 changes: 1 addition & 2 deletions src/main/resources/mixins.superpiston.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"compatibilityLevel": "JAVA_8",
"server": [
"block.PistonBaseBlockMixin",
"block.PistonStructureResolverMixin",
"server.MinecraftServerMixin"
"block.PistonStructureResolverMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit c4c2adc

Please sign in to comment.