Skip to content

Commit 2a15c88

Browse files
authored
Merge pull request #30 from fantasyorg/master
fix: packets send after entity spawned
2 parents 630837f + 26cccce commit 2a15c88

6 files changed

Lines changed: 382 additions & 98 deletions

File tree

api/src/main/java/me/tofaa/entitylib/EntityLibAPI.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
package me.tofaa.entitylib;
22

33
import com.github.retrooper.packetevents.PacketEventsAPI;
4-
import com.github.retrooper.packetevents.protocol.entity.type.EntityType;
5-
import com.github.retrooper.packetevents.protocol.player.UserProfile;
6-
import com.github.retrooper.packetevents.protocol.world.Location;
74
import me.tofaa.entitylib.container.EntityContainer;
85
import me.tofaa.entitylib.tick.TickContainer;
96
import me.tofaa.entitylib.wrapper.WrapperEntity;
10-
import me.tofaa.entitylib.wrapper.WrapperPlayer;
11-
import org.jetbrains.annotations.ApiStatus;
127
import org.jetbrains.annotations.NotNull;
138
import org.jetbrains.annotations.Nullable;
149

api/src/main/java/me/tofaa/entitylib/meta/EntityMeta.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ protected static boolean isVersion(ServerVersion version) {
228228

229229
/**
230230
* Annoying java 8 not letting me do OFFSET + amount in the method call so this is a workaround
231+
*
231232
* @param value the value to offset
232233
* @param amount the amount to offset by
233234
* @return the offset value

0 commit comments

Comments
 (0)