Skip to content

Commit

Permalink
Remove stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
samolego committed Jun 13, 2022
1 parent 6e1a4ae commit 5bbd2a9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.samo_lego.golfiv.mixin.movement;

import net.minecraft.entity.Entity;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.world.World;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
Expand All @@ -24,9 +23,6 @@ public abstract class EntityMixin_NetherRoofDamage {

@Inject(method = "attemptTickInVoid", at = @At("RETURN"))
private void golfiv_inflictRoofDamage(CallbackInfo ci) {
if (self instanceof ServerPlayerEntity) {
System.out.printf("%.2f, %d\n", self.getY(), self.getEntityWorld().getTopY());
}
if (golfConfig.main.inflictNetherRoofDamage != -1 &&
self.getY() >= golfConfig.main.inflictNetherRoofDamage &&
self.getEntityWorld().getRegistryKey() == World.NETHER) {
Expand Down

0 comments on commit 5bbd2a9

Please sign in to comment.