1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-31 12:46:53 +00:00

Compatibility fixes

This commit is contained in:
Tim203
2020-11-22 20:22:34 +01:00
parent b1a2b04fee
commit 5d3acdebff
2 changed files with 2 additions and 2 deletions

View File

@@ -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