Try make it compile with Travis...

... don't use diamond operators?
This commit is contained in:
mmxw11 2017-10-05 22:11:06 +03:00
parent a27808ade1
commit 471f1ae71d
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class BukkitInvContainerUpdateTask implements Runnable {
public BukkitInvContainerUpdateTask(BukkitInvContainerItemProvider provider, UUID uuid) {
this.provider = provider;
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) {

View File

@ -26,7 +26,7 @@ import us.myles.ViaVersion.util.ReflectionUtil;
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;
// packet class
private Class<?> wclickPacketClass;