mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-28 03:37:36 +01:00
Fix exception message
This commit is contained in:
parent
76381660a3
commit
11abb356d6
@ -42,7 +42,7 @@ class DefaultHolographicDisplaysAPI implements HolographicDisplaysAPI {
|
||||
@Override
|
||||
public @NotNull Hologram createHologram(@NotNull Position position) {
|
||||
Preconditions.notNull(position, "position");
|
||||
Preconditions.notNull(position.getWorldName(), "position world name");
|
||||
Preconditions.notNull(position.getWorldName(), "position.getWorldName()");
|
||||
Preconditions.checkMainThread("async hologram creation");
|
||||
|
||||
return apiHologramManager.createHologram(new ImmutablePosition(position), plugin);
|
||||
|
Loading…
Reference in New Issue
Block a user