3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00

Try make it compile with Travis...

... don't use diamond operators?
Dieser Commit ist enthalten in:
mmxw11 2017-10-05 22:11:06 +03:00
Ursprung a27808ade1
Commit 471f1ae71d
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -20,7 +20,7 @@ public class BukkitInvContainerUpdateTask implements Runnable {
public BukkitInvContainerUpdateTask(BukkitInvContainerItemProvider provider, UUID uuid) { public BukkitInvContainerUpdateTask(BukkitInvContainerItemProvider provider, UUID uuid) {
this.provider = provider; this.provider = provider;
this.uuid = uuid; this.uuid = uuid;
this.items = Collections.synchronizedList(new ArrayList<>()); this.items = Collections.synchronizedList(new ArrayList<InvItemStorage>());
} }
public void addItem(short windowId, short slotId, short anumber) { public void addItem(short windowId, short slotId, short anumber) {

Datei anzeigen

@ -26,7 +26,7 @@ import us.myles.ViaVersion.util.ReflectionUtil;
public class BukkitInvContainerItemProvider extends InvContainerItemProvider { public class BukkitInvContainerItemProvider extends InvContainerItemProvider {
private static Map<UUID, BukkitInvContainerUpdateTask> updateTasks = new ConcurrentHashMap<>(); private static Map<UUID, BukkitInvContainerUpdateTask> updateTasks = new ConcurrentHashMap<UUID, BukkitInvContainerUpdateTask>();
private boolean supported; private boolean supported;
// packet class // packet class
private Class<?> wclickPacketClass; private Class<?> wclickPacketClass;