mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Merge pull request #2877 from IntellectualSites/features/v5/split-bukkit-listeners
Clean up bukkit listeners by splitting them up
This commit is contained in:
@ -162,7 +162,7 @@ public interface IPlotMain<P> extends ILogger {
|
||||
/**
|
||||
* Register the protection system.
|
||||
*/
|
||||
void registerPlayerEvents();
|
||||
void registerEvents();
|
||||
|
||||
/**
|
||||
* Register force field events.
|
||||
|
@ -252,7 +252,7 @@ public class PlotSquared {
|
||||
this.IMP.runEntityTask();
|
||||
}
|
||||
if (Settings.Enabled_Components.EVENTS) {
|
||||
this.IMP.registerPlayerEvents();
|
||||
this.IMP.registerEvents();
|
||||
}
|
||||
// Required
|
||||
this.IMP.registerWorldEvents();
|
||||
|
@ -43,7 +43,7 @@ import static com.plotsquared.core.util.entity.EntityCategories.CAP_VEHICLE;
|
||||
* Entity related general utility methods
|
||||
*/
|
||||
@UtilityClass
|
||||
public final class EntityUtil {
|
||||
public class EntityUtil {
|
||||
|
||||
private static int capNumeral(@NonNull final String flagName) {
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user