mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-19 15:09:15 +00:00
纠正引用源
This commit is contained in:
@@ -3475,6 +3475,7 @@ public class BukkitNetworkManager implements NetworkManager, Listener, PluginMes
|
||||
@Override
|
||||
public void onPacketReceive(NetWorkUser user, ByteBufPacketEvent event) {
|
||||
if (Config.disableItemOperations()) return;
|
||||
if (!VersionHelper.PREMIUM && !Config.interceptItem()) return;
|
||||
FriendlyByteBuf buf = event.getBuffer();
|
||||
boolean changed = false;
|
||||
Object friendlyBuf = FastNMS.INSTANCE.constructor$FriendlyByteBuf(buf.source());
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/**
|
||||
* This implementation references the BlockEntityTickersList implementation by Winds Studio,
|
||||
* available at: https://github.com/Winds-Studio/Leaf/blob/b9ebff/leaf-server/src/main/java/org/dreeam/leaf/util/list/BlockEntityTickersList.java
|
||||
* <p>
|
||||
* This work is licensed under the GNU General Public License v3.0 (GPLv3)
|
||||
* This implementation references the BlockEntityTickersList implementation by SparklyPaper,
|
||||
* available at: https://github.com/SparklyPower/SparklyPaper/blob/ver/1.21.10/sparklypaper-server/src/main/java/net/sparklypower/sparklypaper/BlockEntityTickersList.java
|
||||
*/
|
||||
package net.momirealms.craftengine.core.util;
|
||||
|
||||
@@ -23,7 +21,6 @@ import java.util.Collection;
|
||||
* since we don't need to resize the array every single remove.
|
||||
*/
|
||||
public final class BlockEntityTickersList extends ObjectArrayList<TickingBlockEntity> {
|
||||
|
||||
private final IntOpenHashSet toRemove = new IntOpenHashSet();
|
||||
private int startSearchFromIndex = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user