Skip to content

Commit

Permalink
Disallow Player Simulator from sleeping in beds, Closes CyclopsMC/Int…
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Jan 8, 2025
1 parent 57baec2 commit e1ba701
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.cyclops.integratedtunnels.core;

import com.mojang.authlib.GameProfile;
import net.minecraft.core.BlockPos;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.effect.MobEffectInstance;
import net.minecraft.world.level.GameType;
Expand Down Expand Up @@ -87,4 +88,9 @@ public void updateActiveHandSimulated() {
this.stopUsingItem();
}
}

@Override
public void startSleeping(BlockPos blockPos) {
// Dp nothing
}
}

0 comments on commit e1ba701

Please sign in to comment.