mirror of
https://github.com/ViaVersion/ViaRewind-Legacy-Support.git
synced 2024-11-14 10:15:31 +01:00
remove redundant check
This commit is contained in:
parent
ba4d64cb56
commit
e33cb23923
@ -27,9 +27,7 @@ public class BoundingBoxFixer {
|
||||
|
||||
Field boundingBoxNorthField, boundingBoxSouthField, boundingBoxWestField, boundingBoxEastField;
|
||||
|
||||
if (ProtocolRegistry.SERVER_PROTOCOL < 107) {
|
||||
return;
|
||||
} else if (ProtocolRegistry.SERVER_PROTOCOL <= 340) {
|
||||
if (ProtocolRegistry.SERVER_PROTOCOL <= 340) {
|
||||
boundingBoxEastField = ReflectionAPI.getFieldAccessible(blockLadderClass, "b");
|
||||
boundingBoxWestField = ReflectionAPI.getFieldAccessible(blockLadderClass, "c");
|
||||
boundingBoxSouthField = ReflectionAPI.getFieldAccessible(blockLadderClass, "d");
|
||||
|
Loading…
Reference in New Issue
Block a user