Update bedBlock.java

This commit is contained in:
Malte Reents 2024-01-22 11:41:19 +01:00
parent 64aa59db82
commit a4782327c8
1 changed files with 0 additions and 1 deletions

View File

@ -38,7 +38,6 @@ public class bedBlock {
} catch (Exception e) {
REServerMod.LOGGER.info("Error casting playerArray to ServerPlayerEntity: " + e);
}
jabadidbidu
if (inRange(pos.getX(), posXYZ[0], 1) && inRange(pos.getY(), posXYZ[1], 1) && inRange(pos.getZ(), posXYZ[2], 1)) { //Gleicht ab, ob die Koordinaten uebereinstimmen; die Spawnpunkte sind nicht immer ganz sauber, daher wird in Blockrange 1 geschaut
player.sendMessage(Text.of(Text.of(pos.toShortString()) + " zu " + new BlockPos(posXYZ[0], posXYZ[1], posXYZ[2])));
try { //Sollte der Code doch ausversehen auf dem Client ausgefuehrt werden, wuerde die folgende Zeile einen Error schmeissen