Skip to content

Commit

Permalink
Fix bounding box fixes on Paper 1.20.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed May 2, 2024
1 parent 560b84e commit 8a92b4d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

package com.viaversion.viarewind.legacysupport.feature;

import com.viaversion.viarewind.legacysupport.BukkitPlugin;
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;

import java.lang.reflect.Field;
Expand Down Expand Up @@ -82,7 +81,8 @@ private static void setBoundingBox(Object boundingBox, double... values) throws
case "AxisAlignedBB": // Legacy NMS
setAxisAlignedBB(boundingBox, values);
break;
case "VoxelShapeArray": // Paper
case "VoxelShapeArray": // Paper 1.20.4-
case "ArrayVoxelShape": // Paper 1.20.5+
setVoxelShapeArray(boundingBox, values);
break;
case "AABBVoxelShape": // Tuinity
Expand Down

0 comments on commit 8a92b4d

Please sign in to comment.