Skip to content

Commit

Permalink
Disable raids for slime worlds, as they cause server crashes (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
cijaaimee authored Dec 13, 2019
1 parent 31ba7af commit 66d29da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slimeworldmanager-classmodifier/src/main/resources/list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ net/minecraft/server/v1_14_R1/PlayerChunkMap:
- f(net.minecraft.server.v1_14_R1.ChunkCoordIntPair)@v1_14_R1/PlayerChunkMap_loadChunk.txt
__optional__net/minecraft/server/v1_14_R1/PlayerChunkMap:
- saveChunk(net.minecraft.server.v1_14_R1.IChunkAccess, boolean)@v1_14_R1/PlayerChunkMap_saveChunk.txt
net/minecraft/server/v1_14_R1/MobSpawnerTrader:
- a()@v1_14_R1/MobSpawnerTrader_tickRaids.txt
net/minecraft/server/v1_14_R1/MinecraftServer:
- a(java.lang.String, java.lang.String, long, net.minecraft.server.v1_14_R1.WorldType, com.google.gson.JsonElement)@v1_14_R1/MinecraftServer_loadWorlds.txt
net/minecraft/server/v1_14_R1/PersistentBase:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
if (com.grinderwolf.swm.clsm.ClassModifier.isCustomWorld($0.b)) {
return;
}
}

0 comments on commit 66d29da

Please sign in to comment.