Changing build setup for gradle artifact repo

This commit is contained in:
NavidK0 2015-07-01 09:19:00 -04:00
parent ee313bc753
commit caa0025e77

View File

@ -326,7 +326,7 @@ public class PacketsManager {
int id = disguise.getType().getEntityId(); int id = disguise.getType().getEntityId();
int data = msc.getData(); int data = msc.getData();
if (disguise.getType() == DisguiseType.FALLING_BLOCK) { 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) { } 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 // If the MiscDisguise data isn't set. Then no entity id was provided, so default to the owners entity id
data = disguisedEntity.getEntityId(); data = disguisedEntity.getEntityId();