mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-11 01:38:07 +02:00
Changing build setup for gradle artifact repo
This commit is contained in:
parent
ee313bc753
commit
caa0025e77
@ -326,7 +326,7 @@ public class PacketsManager {
|
||||
int id = disguise.getType().getEntityId();
|
||||
int data = msc.getData();
|
||||
if (disguise.getType() == DisguiseType.FALLING_BLOCK) {
|
||||
data = msc.getData(); //No data values for now
|
||||
data = msc.getData(); //No data values for now, switch to NBT only has been painful
|
||||
} else if (disguise.getType() == DisguiseType.FISHING_HOOK && data == 0) {
|
||||
// If the MiscDisguise data isn't set. Then no entity id was provided, so default to the owners entity id
|
||||
data = disguisedEntity.getEntityId();
|
||||
|
Loading…
Reference in New Issue
Block a user