diff --git a/CHANGELOG.md b/CHANGELOG.md index 207fc39..9a1ab2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -### Changelog +# Changelog **1.1.11** * Update Mappings diff --git a/README.md b/README.md index a7c4e33..9678612 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # SorceryCraft Cast Spells in Minecraft! -This mod supports the Minecraft 1.16 snapshots. +This mod currently supports the Minecraft 1.16 snapshots. ## What are Spells? Spells are found throughout the world in chests. When you pick up a Spell you will learn it, one you learn a Spell you can apply it to a blank or existing Spell in the Casting Table. You can cast Spells by right-clicking. There is also a 30% chance the spell will rebound and hit you instead, unless the "Steadfast" Spell is applied. diff --git a/src/main/java/com/thebrokenrail/sorcerycraft/mixin/MixinClientPlayNetworkHandler.java b/src/main/java/com/thebrokenrail/sorcerycraft/mixin/MixinClientPlayNetworkHandler.java index f10855c..e48cbb6 100644 --- a/src/main/java/com/thebrokenrail/sorcerycraft/mixin/MixinClientPlayNetworkHandler.java +++ b/src/main/java/com/thebrokenrail/sorcerycraft/mixin/MixinClientPlayNetworkHandler.java @@ -20,7 +20,7 @@ public class MixinClientPlayNetworkHandler { private ClientWorld world; @Inject(method = "onEntitySpawn", at = @At(value = "TAIL")) - public void onEntitySpawn(EntitySpawnS2CPacket packet, CallbackInfo callbackInfo) { + public void onEntitySpawn(EntitySpawnS2CPacket packet, CallbackInfo info) { EntityType entityType = packet.getEntityTypeId(); Entity entity = null; diff --git a/src/main/java/com/thebrokenrail/sorcerycraft/mixin/MixinServerPlayerEntity.java b/src/main/java/com/thebrokenrail/sorcerycraft/mixin/MixinServerPlayerEntity.java index e30c039..c879a9f 100644 --- a/src/main/java/com/thebrokenrail/sorcerycraft/mixin/MixinServerPlayerEntity.java +++ b/src/main/java/com/thebrokenrail/sorcerycraft/mixin/MixinServerPlayerEntity.java @@ -14,7 +14,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(ServerPlayerEntity.class) public abstract class MixinServerPlayerEntity implements SpellPlayerEntity { @Inject(at = @At("HEAD"), method = "copyFrom") - public void copyFrom(ServerPlayerEntity oldPlayer, boolean alive, CallbackInfo ci) { + public void copyFrom(ServerPlayerEntity oldPlayer, boolean alive, CallbackInfo info) { SpellPlayerEntity oldSpellPlayer = (SpellPlayerEntity) oldPlayer; SpellPlayerEntity newSpellPlayer = this; @@ -22,7 +22,7 @@ public abstract class MixinServerPlayerEntity implements SpellPlayerEntity { } @Inject(at = @At("HEAD"), method = "playerTick") - public void playerTick(CallbackInfo ignored) { + public void playerTick(CallbackInfo info) { CompoundTag tag = new CompoundTag(); tag.put(SpellTag.SPELL_TAG, SpellTag.createSpellsTag(getSorceryCraftSpells())); //noinspection ConstantConditions