Skip to content

Commit

Permalink
Merge pull request #26 from joshuaprince/beds
Browse files Browse the repository at this point in the history
Exterminate bed bugs for players and villagers
  • Loading branch information
cavallium committed Jul 6, 2023
2 parents 030de29 + bab9ce0 commit a6c8d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.warp</groupId>
<artifactId>CoordinatesObfuscator</artifactId>
<version>1.4.11</version>
<version>1.4.12</version>
<name>CoordinatesObfuscator</name>
<build>
<resources>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ public static boolean outgoing(Logger logger, final PacketContainer packet, fina
Object val = opt.get();
if (NMS_BLOCK_POSITION_CLASS.isInstance(val)) {
wrappedWatchableObject.setValue(Optional.of(offsetPositionMc(logger, offset, val)));
} else if (val instanceof BlockPosition blockPosition) {
wrappedWatchableObject.setValue(Optional.of(offsetPosition(logger, offset, blockPosition)));
}
}
} else if (oldValue instanceof BlockPosition blockPosition) {
Expand Down

0 comments on commit a6c8d60

Please sign in to comment.