Reformatted project to conform to google style guide.

This commit is contained in:
Mitchell Cook
2018-07-16 17:28:56 +10:00
parent bc915af13e
commit 9cc5a9678f
25 changed files with 1833 additions and 1741 deletions

View File

@@ -27,29 +27,29 @@ import org.bukkit.event.HandlerList;
@Deprecated
public class PlaceholderHookUnloadEvent extends Event {
private static final HandlerList HANDLERS = new HandlerList();
private String plugin;
private PlaceholderHook hook;
private static final HandlerList HANDLERS = new HandlerList();
private String plugin;
private PlaceholderHook hook;
public PlaceholderHookUnloadEvent(String plugin, PlaceholderHook placeholderHook) {
this.plugin = plugin;
this.hook = placeholderHook;
}
public PlaceholderHookUnloadEvent(String plugin, PlaceholderHook placeholderHook) {
this.plugin = plugin;
this.hook = placeholderHook;
}
@Override
public HandlerList getHandlers() {
return HANDLERS;
}
public static HandlerList getHandlerList() {
return HANDLERS;
}
public static HandlerList getHandlerList() {
return HANDLERS;
}
public String getHookName() {
return plugin;
}
public PlaceholderHook getHook() {
return hook;
}
@Override
public HandlerList getHandlers() {
return HANDLERS;
}
public String getHookName() {
return plugin;
}
public PlaceholderHook getHook() {
return hook;
}
}