mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 21:52:05 -07:00
Readd dropped CauldronInteraction hunk
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
}
|
||||
|
||||
- public boolean canUse(final S source) {
|
||||
+ // Paper start
|
||||
+ // CraftBukkit start
|
||||
+ public synchronized boolean canUse(final S source) {
|
||||
+ if (source instanceof CommandSourceStack) {
|
||||
+ try {
|
||||
@@ -48,7 +48,7 @@
|
||||
+ ((CommandSourceStack) source).currentCommand.remove(Thread.currentThread()); // Paper - Thread Safe Vanilla Command permission checking
|
||||
+ }
|
||||
+ }
|
||||
+ // Paper end
|
||||
+ // CraftBukkit end
|
||||
return requirement.test(source);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user