Skip to content

Commit

Permalink
Remove sponge specific entity hook for #50
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Jul 6, 2016
1 parent 70af38d commit 72c2c07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
5 changes: 1 addition & 4 deletions src/main/java/nallar/tickprofiler/minecraft/CoreMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ private boolean isSpongePresent() {
public void injectData(Map<String, Object> data) {
Log.info("TickProfiler v@MOD_VERSION@ coremod loading. Sponge present: " + isSpongePresent());

if (isSpongePresent())
ModPatcher.loadPatches(CoreMod.class.getResourceAsStream("/entityhook_sponge.xml"));
else
ModPatcher.loadPatches(CoreMod.class.getResourceAsStream("/entityhook.xml"));
ModPatcher.loadPatches(CoreMod.class.getResourceAsStream("/entityhook.xml"));
// TODO: Not implemented
// ModPatcher.loadPatches(CoreMod.class.getResourceAsStream("/packethook.xml"));
}
Expand Down
19 changes: 0 additions & 19 deletions src/main/resources/entityhook_sponge.xml

This file was deleted.

0 comments on commit 72c2c07

Please sign in to comment.