canon ending dev build
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
#loader mixin
|
||||
|
||||
import native.net.minecraftforge.event.entity.living.LivingDeathEvent;
|
||||
|
||||
import mixin.CallbackInfo;
|
||||
import native.mustapelto.deepmoblearning.common.events.EntityDeathEventHandler;
|
||||
|
||||
/*
|
||||
Fix random crashes related to modifying UUID blacklist concurrently.
|
||||
|
||||
Here until floppaxd/DeepMobEvolution#65 is merged.
|
||||
Created by ChaosStrikez for Deep Mob Evolution 1.2.2.
|
||||
*/
|
||||
#mixin Mixin
|
||||
#{targets: "mustapelto.deepmoblearning.common.events.EntityDeathEventHandler"}
|
||||
zenClass MixinEntityDeathEventHandler {
|
||||
#mixin Static
|
||||
#mixin Inject
|
||||
#{
|
||||
# method: "entityDeath",
|
||||
# at: {value: "HEAD"},
|
||||
# cancellable: true
|
||||
#}
|
||||
function mbc_checkSide(event as LivingDeathEvent, ci as CallbackInfo) as void {
|
||||
if (event.getEntityLiving().world.isRemote) {
|
||||
ci.cancel();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user