mirror of
https://github.com/plexusorg/Plex.git
synced 2024-11-20 10:15:02 +00:00
2790d406ed
-> Switch Freeze CMD to use Punishment System -> Add Mute Event -> Register new Ban CMD -> Register Login Listener -> Add methods to Punishments -> Service System -> Have SQL and Mongo create a new table / collection for Bans -> Added more util methods
17 lines
301 B
Java
17 lines
301 B
Java
package me.totalfreedom.plex.services;
|
|
|
|
public abstract class AbstractService implements IService
|
|
{
|
|
|
|
private boolean asynchronous;
|
|
|
|
public AbstractService(boolean async)
|
|
{
|
|
this.asynchronous = async;
|
|
}
|
|
|
|
public boolean isAsynchronous() {
|
|
return asynchronous;
|
|
}
|
|
}
|