Fixed egit problems
This commit is contained in:
parent
8c27fa76ec
commit
1beb67cb7b
|
@ -9,7 +9,7 @@ public class AdvancedPortalsPlugin extends JavaPlugin {
|
||||||
new Listeners(this);
|
new Listeners(this);
|
||||||
|
|
||||||
this.getServer().getConsoleSender().sendMessage("§aAdvanced portals have been sucsessfully enabled!");
|
this.getServer().getConsoleSender().sendMessage("§aAdvanced portals have been sucsessfully enabled!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ public class ConfigAccessor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Saves
|
// Saves
|
||||||
public void saveDefaultConfig() {
|
public void saveDefaultConfig() {
|
||||||
if (!configFile.exists()) {
|
if (!configFile.exists()) {
|
||||||
this.plugin.saveResource(fileName, false);
|
this.plugin.saveResource(fileName, false);
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class Listeners implements Listener {
|
||||||
plugin.getServer().getPluginManager().registerEvents(this, plugin);
|
plugin.getServer().getPluginManager().registerEvents(this, plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onMoveEvent(PlayerMoveEvent event) {
|
public void onMoveEvent(PlayerMoveEvent event) {
|
||||||
// will check if the player is in the portal or not.
|
// will check if the player is in the portal or not.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
main: com.sekwah.advancedportals.AdvancedPortalsPlugin
|
main: com.sekwah.advancedportals.AdvancedPortalsPlugin
|
||||||
name: AdvancedPortals
|
name: AdvancedPortals
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
author: SEKWAH41
|
author: SEKWAH41
|
||||||
description: An advanced portals plugin for bukkit.
|
description: An advanced portals plugin for bukkit.
|
Loading…
Reference in New Issue