Skip to content

Commit 8b73a5f

Browse files
committed
Reword a string + bump version
1 parent f55aa82 commit 8b73a5f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = 'org.parallelmc'
10-
version = '1.18.7'
10+
version = '1.18.8'
1111
description = 'A set of utilities and features for use on the Parallel Minecraft server'
1212

1313
java {

src/main/java/parallelmc/parallelutils/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
public class Constants {
44

5-
public static final Version VERSION = new Version(1, 18, 7);
5+
public static final Version VERSION = new Version(1, 18, 8);
66
public static final String PLUGIN_NAME = "ParallelUtils";
77
public static final String DEFAULT_WORLD = "world2";
88
}

src/main/java/parallelmc/parallelutils/modules/parallelitems/pocketteleporter/PlayerPositionManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ public void attemptTeleport(Player player, ItemStack teleporter) {
142142
ParallelChat.sendParallelMessageTo(player, "Cannot teleport while not on the ground!");
143143
return;
144144
}
145-
if (isPositionSafe(player.getLocation().getBlock().getRelative(BlockFace.UP))) {
146-
ParallelChat.sendParallelMessageTo(player, "The block above you must be clear to teleport!");
145+
if (!isPositionSafe(player.getLocation().getBlock())) {
146+
ParallelChat.sendParallelMessageTo(player, "You must be standing in a clear area to teleport!");
147147
return;
148148
}
149149
if (player.isSneaking()) {

0 commit comments

Comments
 (0)