mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-26 04:25:30 +01:00
Merge branch 'master' into spigot
This commit is contained in:
parent
9e56aa074c
commit
57cb442ae3
@ -1,11 +1,12 @@
|
||||
package com.sekwah.advancedportals.spigot;
|
||||
|
||||
import com.sekwah.advancedportals.core.AdvancedPortalsCore;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class AdvancedPortalsPlugin extends JavaPlugin {
|
||||
|
||||
public void onEnable() {
|
||||
|
||||
//this.portalsCore = new AdvancedPortalsCore()
|
||||
}
|
||||
|
||||
public void onDisable() {
|
||||
|
22
src/com/sekwah/advancedportals/spigot/SpigotInfoLogger.java
Normal file
22
src/com/sekwah/advancedportals/spigot/SpigotInfoLogger.java
Normal file
@ -0,0 +1,22 @@
|
||||
package com.sekwah.advancedportals.spigot;
|
||||
|
||||
import com.sekwah.advancedportals.core.util.InfoLogger;
|
||||
|
||||
public class SpigotInfoLogger extends InfoLogger {
|
||||
|
||||
private final AdvancedPortalsPlugin plugin;
|
||||
|
||||
public SpigotInfoLogger(AdvancedPortalsPlugin plugin) {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void logWarning(String s) {
|
||||
plugin.getLogger().warning(s);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void log(String s) {
|
||||
plugin.getLogger().info(s);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user