mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 23:22:10 -07:00
Update to Minecraft 1.12-pre2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/EntitySlice.java
|
||||
+++ b/net/minecraft/server/EntitySlice.java
|
||||
@@ -12,7 +12,7 @@
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
public class EntitySlice<T> extends AbstractSet<T> {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
private final Map<Class<?>, List<T>> b = Maps.newHashMap();
|
||||
private final Set<Class<?>> c = Sets.newIdentityHashSet();
|
||||
private final Class<T> d;
|
||||
@@ -40,7 +40,7 @@
|
||||
@@ -41,7 +41,7 @@
|
||||
Object object = iterator.next();
|
||||
|
||||
if (oclass.isAssignableFrom(object.getClass())) {
|
||||
@@ -18,7 +18,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
@@ -78,7 +78,7 @@
|
||||
List list = (List) this.b.get(oclass);
|
||||
|
||||
if (list == null) {
|
||||
@@ -27,12 +27,3 @@
|
||||
} else {
|
||||
list.add(t0);
|
||||
}
|
||||
@@ -125,7 +125,7 @@
|
||||
}
|
||||
|
||||
public Iterator<T> iterator() {
|
||||
- return this.e.isEmpty() ? Iterators.emptyIterator() : Iterators.unmodifiableIterator(this.e.iterator());
|
||||
+ return this.e.isEmpty() ? Iterators.<T>emptyIterator() : Iterators.unmodifiableIterator(this.e.iterator());
|
||||
}
|
||||
|
||||
public int size() {
|
||||
|
Reference in New Issue
Block a user