Remove some unused code (#1521)
This commit is contained in:
1 parent
94a729bae6
commit
1734930f7e
8 files changed
+2
-69
No files matched your search
@@ -13,7 +13,6 @@ import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
import java.util.List;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.damagesource.DamageSource;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
@@ -81,7 +80,7 @@ public abstract class Explosion_optimizedTntMixin
|
||||
{
|
||||
if (LoggerRegistry.__explosions && ! world.isClientSide)
|
||||
{
|
||||
eLogger = new ExplosionLogHelper(entity, x, y, z, power, createFire, destructionType);
|
||||
eLogger = new ExplosionLogHelper(x, y, z, power, createFire, destructionType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
package carpet.mixins;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.network.protocol.game.ServerboundPlayerActionPacket;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.gen.Accessor;
|
||||
|
||||
@Mixin(ServerboundPlayerActionPacket.class)
|
||||
public interface ServerboundPlayerActionPacketMixin
|
||||
{
|
||||
@Accessor("pos")
|
||||
void setPos(BlockPos pos);
|
||||
|
||||
@Accessor("direction")
|
||||
void setDirection(Direction direction);
|
||||
|
||||
@Accessor("action")
|
||||
void setAction(ServerboundPlayerActionPacket.Action action);
|
||||
}
|
||||
Reference in new issue
Block a user