mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-27 19:47:51 +01:00
format
This commit is contained in:
parent
2f6d5d8ec3
commit
d5ccfeaae4
@ -1,16 +1,19 @@
|
||||
package net.citizensnpcs.editor;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class EquipmentEditor implements Editor {
|
||||
private Player player;
|
||||
|
||||
public EquipmentEditor(Player player) {
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void begin() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void end() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
@ -1,15 +1,19 @@
|
||||
package net.citizensnpcs.editor;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class TextEditor implements Editor {
|
||||
private Player player;
|
||||
|
||||
public TextEditor(Player player) {
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void begin() {
|
||||
// If this doesn't work I quit the internet.
|
||||
}
|
||||
|
||||
@Override
|
||||
public void end() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package net.citizensnpcs.trait;
|
||||
package net.citizensnpcs.trait.waypoint;
|
||||
|
||||
import org.bukkit.Location;
|
||||
|
||||
@ -8,4 +8,4 @@ public class Waypoint {
|
||||
public Waypoint(Location location) {
|
||||
this.location = location;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package net.citizensnpcs.trait;
|
||||
package net.citizensnpcs.trait.waypoint;
|
||||
|
||||
import net.citizensnpcs.api.npc.ai.NavigationCallback;
|
||||
import net.citizensnpcs.editor.Editor;
|
||||
@ -6,9 +6,10 @@ import net.citizensnpcs.editor.Editor;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public interface WaypointProvider {
|
||||
|
||||
public Editor createEditor(Player player);
|
||||
|
||||
public void addWaypoint(Waypoint waypoint);
|
||||
|
||||
public NavigationCallback getCallback();
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package net.citizensnpcs.trait;
|
||||
package net.citizensnpcs.trait.waypoint;
|
||||
|
||||
import net.citizensnpcs.api.exception.NPCLoadException;
|
||||
import net.citizensnpcs.api.npc.NPC;
|
||||
@ -21,6 +21,5 @@ public class Waypoints extends Trait {
|
||||
|
||||
@Override
|
||||
public void save(DataKey key) {
|
||||
// TODO Auto-generated method stub
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user