Remove unused 'listeningImages' variable. (#1684)

This commit is contained in:
Kekschen 2022-04-02 22:00:57 +02:00 committed by GitHub
parent a240b002de
commit f477120661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {