Fixed falling block grid lock, improved player disguises skins a ton

This commit is contained in:
libraryaddict
2020-10-07 08:21:21 +13:00
parent bea34b18c2
commit dff3e23821
8 changed files with 148 additions and 44 deletions

View File

@@ -3025,7 +3025,8 @@ public class DisguiseUtilities {
/**
* Get the Y level to add to the disguise for realism.
*/
public static double getYModifier(Entity entity, Disguise disguise) {
public static double getYModifier(Disguise disguise) {
Entity entity = disguise.getEntity();
double yMod = 0;
if (disguise.getType() != DisguiseType.PLAYER && entity.getType() == EntityType.DROPPED_ITEM) {