Compare commits
1 Commits
1.13.4-deo
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 84adbfda30 |
@@ -58,7 +58,7 @@ public class PacketListener extends PacketAdapter {
|
||||
int entityId = event.getPacket().getIntegers().read(0);
|
||||
int currentTick = plugin.getServerTick();
|
||||
|
||||
// 检查是否是需要防Misplace的实体
|
||||
|
||||
if (entityId == data.getLastAttackerId() &&
|
||||
currentTick - data.getLastHitTick() <= player.getMaximumNoDamageTicks()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user