Missed call in 5fcfc7a
This commit is contained in:
1 file changed
+1
-1
@@ -221,7 +221,7 @@ public class EntityPlayerActionPack
|
|||||||
// skipping attack if use was successful
|
// skipping attack if use was successful
|
||||||
if (!(actionAttempts.getOrDefault(ActionType.USE, false) && type == ActionType.ATTACK))
|
if (!(actionAttempts.getOrDefault(ActionType.USE, false) && type == ActionType.ATTACK))
|
||||||
{
|
{
|
||||||
Boolean actionStatus = action.tick(this, e.getKey());
|
Boolean actionStatus = action.tick(this, type);
|
||||||
if (actionStatus != null)
|
if (actionStatus != null)
|
||||||
actionAttempts.put(type, actionStatus);
|
actionAttempts.put(type, actionStatus);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user