mirror of
https://github.com/Freezy-Studios/BlazeSMP.git
synced 2025-04-21 18:14:05 +02:00
Fix typo
This commit is contained in:
parent
7240f34ff0
commit
af781435b6
2 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ public class PressurePlateListener implements Listener {
|
|||
FileConfiguration config = plugin.getConfig();
|
||||
pressurePlateLocation = new Location(
|
||||
Bukkit.getWorld(config.getString("pressure-plate.world", "world")),
|
||||
config.getDouble("pressure-plate.x", 1),
|
||||
config.getDouble("pressure-plate.x", 0),
|
||||
config.getDouble("pressure-plate.y", 68),
|
||||
config.getDouble("pressure-plate.z", 0)
|
||||
);
|
||||
|
@ -74,8 +74,8 @@ public class PressurePlateListener implements Listener {
|
|||
} else {
|
||||
if (playerTasks.containsKey(event.getPlayer().getUniqueId())) {
|
||||
if (event.getFrom().getBlockX() != event.getTo().getBlockX() ||
|
||||
event.getFrom().getBlockY() != event.getTo().getBlockY() ||
|
||||
event.getFrom().getBlockZ() != event.getTo().getBlockZ()) {
|
||||
event.getFrom().getBlockY() != event.getTo().getBlockY() ||
|
||||
event.getFrom().getBlockZ() != event.getTo().getBlockZ()) {
|
||||
playerTasks.get(event.getPlayer().getUniqueId()).cancel();
|
||||
playerTasks.remove(event.getPlayer().getUniqueId());
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ isEndOpen: false
|
|||
|
||||
pressure-plate:
|
||||
world: "world"
|
||||
x: 1
|
||||
x: 0
|
||||
y: 68
|
||||
z: 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue