Skip to content

Commit

Permalink
Fix #isAccessible() deprecation in HybridPlotWorld (#4177)
Browse files Browse the repository at this point in the history
Fixes #4165
  • Loading branch information
BlockyTheDev authored Oct 1, 2023
1 parent 4fe0c58 commit c1555dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void loadConfiguration(ConfigurationSection config) {
}
Object value;
try {
final boolean accessible = field.isAccessible();
final boolean accessible = field.canAccess(this);
field.setAccessible(true);
value = field.get(this);
field.setAccessible(accessible);
Expand Down

0 comments on commit c1555dd

Please sign in to comment.