mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-31 12:46:53 +00:00
Compatibility fixes
This commit is contained in:
@@ -121,7 +121,7 @@ public final class CommonModule extends AbstractModule {
|
||||
@Singleton
|
||||
@Named("playerAttribute")
|
||||
public AttributeKey<FloodgatePlayer> playerAttribute() {
|
||||
return AttributeKey.newInstance("floodgate-player");
|
||||
return AttributeKey.valueOf("floodgate-player");
|
||||
}
|
||||
|
||||
@Provides
|
||||
|
||||
Reference in New Issue
Block a user