3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-07 20:10:06 +01:00

Remove unused 'listeningImages' variable. (#1684)

Dieser Commit ist enthalten in:
Kekschen 2022-04-02 22:00:57 +02:00 committet von GitHub
Ursprung a240b002de
Commit f477120661
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -61,7 +61,6 @@ public class FaweBukkit implements IFawe, Listener {
private final boolean chunksStretched; private final boolean chunksStretched;
private final FAWEPlatformAdapterImpl platformAdapter; private final FAWEPlatformAdapterImpl platformAdapter;
private ItemUtil itemUtil; private ItemUtil itemUtil;
private boolean listeningImages;
private Preloader preloader; private Preloader preloader;
private volatile boolean keepUnloaded; private volatile boolean keepUnloaded;
@ -119,7 +118,6 @@ public class FaweBukkit implements IFawe, Listener {
@Override @Override
public synchronized ImageViewer getImageViewer(com.sk89q.worldedit.entity.Player player) { public synchronized ImageViewer getImageViewer(com.sk89q.worldedit.entity.Player player) {
try { try {
listeningImages = true;
PluginManager manager = Bukkit.getPluginManager(); PluginManager manager = Bukkit.getPluginManager();
if (manager.getPlugin("PacketListenerApi") == null) { if (manager.getPlugin("PacketListenerApi") == null) {