修复激光Capability递归调用

This commit is contained in:
Light_Quanta 2025-03-26 04:38:56 +08:00
parent 66a2c03bf5
commit a8d71ad3f3
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959

View file

@ -22,7 +22,7 @@ public class LaserCapabilityProvider implements ICapabilityProvider<Player, Void
@Override @Override
public @Nullable LaserCapability getCapability(@NotNull Player object, Void context) { public @Nullable LaserCapability getCapability(@NotNull Player object, Void context) {
return object.getCapability(ModCapabilities.LASER_CAPABILITY, context); return instance;
} }
@Override @Override