mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
#748: Remove permissible recalculation from Permission constructor
This fixes issues that simply creating a new Permission instance would lead to permission defaults and permissibles to get recalcuated even if the permission itself was never added to the server or was already present. By: Phoenix616 <max@themoep.de>
This commit is contained in:
@@ -64,8 +64,6 @@ public class Permission {
|
|||||||
if (children != null) {
|
if (children != null) {
|
||||||
this.children.putAll(children);
|
this.children.putAll(children);
|
||||||
}
|
}
|
||||||
|
|
||||||
recalculatePermissibles();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user