mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Add missing injection points
This commit is contained in:
@ -27,6 +27,7 @@ package com.plotsquared.core.plot;
|
||||
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.common.collect.Sets;
|
||||
import com.google.inject.Inject;
|
||||
import com.plotsquared.core.PlotSquared;
|
||||
import com.plotsquared.core.configuration.Captions;
|
||||
import com.plotsquared.core.configuration.ConfigurationUtil;
|
||||
@ -128,13 +129,13 @@ public class Plot {
|
||||
@NotNull private final PlotId id;
|
||||
|
||||
// These will be injected
|
||||
private EventDispatcher eventDispatcher;
|
||||
private PlotListener plotListener;
|
||||
private RegionManager regionManager;
|
||||
private GlobalBlockQueue blockQueue;
|
||||
private WorldUtil worldUtil;
|
||||
private SchematicHandler schematicHandler;
|
||||
@ImpromptuPipeline private UUIDPipeline impromptuPipeline;
|
||||
@Inject private EventDispatcher eventDispatcher;
|
||||
@Inject private PlotListener plotListener;
|
||||
@Inject private RegionManager regionManager;
|
||||
@Inject private GlobalBlockQueue blockQueue;
|
||||
@Inject private WorldUtil worldUtil;
|
||||
@Inject private SchematicHandler schematicHandler;
|
||||
@Inject @ImpromptuPipeline private UUIDPipeline impromptuPipeline;
|
||||
|
||||
/**
|
||||
* Plot flag container
|
||||
|
@ -25,6 +25,7 @@
|
||||
*/
|
||||
package com.plotsquared.core.queue;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import com.plotsquared.core.PlotSquared;
|
||||
import com.plotsquared.core.location.Location;
|
||||
import com.plotsquared.core.player.PlotPlayer;
|
||||
@ -48,9 +49,9 @@ public abstract class LocalBlockQueue {
|
||||
@Getter @Setter private boolean forceSync = false;
|
||||
@Getter @Setter @Nullable private Object chunkObject;
|
||||
|
||||
private SchematicHandler schematicHandler;
|
||||
private WorldUtil worldUtil;
|
||||
private GlobalBlockQueue blockQueue;
|
||||
@Inject private SchematicHandler schematicHandler;
|
||||
@Inject private WorldUtil worldUtil;
|
||||
@Inject private GlobalBlockQueue blockQueue;
|
||||
|
||||
/**
|
||||
* Needed for compatibility with FAWE.
|
||||
|
Reference in New Issue
Block a user