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:
Ursprung
a27808ade1
Commit
471f1ae71d
@ -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) {
|
||||||
|
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren