mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-24 00:15:16 +01:00
push build
This commit is contained in:
parent
5379bfbf0b
commit
7b53c18dd4
@ -24,7 +24,6 @@ public class GoToObjective extends Objective {
|
|||||||
config.validate("range", "world", "x", "y", "z");
|
config.validate("range", "world", "x", "y", "z");
|
||||||
|
|
||||||
range = config.getDouble("range");
|
range = config.getDouble("range");
|
||||||
|
|
||||||
World world = Bukkit.getWorld(config.getString("world"));
|
World world = Bukkit.getWorld(config.getString("world"));
|
||||||
Validate.notNull(world, "Could not find world " + config.getString("world"));
|
Validate.notNull(world, "Could not find world " + config.getString("world"));
|
||||||
loc = new Location(world, config.getInt("x"), config.getInt("y"), config.getInt("z"));
|
loc = new Location(world, config.getInt("x"), config.getInt("y"), config.getInt("z"));
|
||||||
|
Loading…
Reference in New Issue
Block a user