Skip to content

Commit

Permalink
Fix NoSuchMethodError on 1.19.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Archy-X committed Jun 18, 2024
1 parent 24e0ba6 commit a5cc880
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public boolean isValidEntityType(String input) {
try {
EntityType type = EntityType.valueOf(input);
// Check if feature flag locked entity is disabled
if (VersionUtils.isAtLeastVersion(19, 4)) {
if (VersionUtils.isAtLeastVersion(20)) {
for (World world : Bukkit.getWorlds()) {
if (!type.isEnabledByFeature(world)) {
return false;
Expand Down

0 comments on commit a5cc880

Please sign in to comment.