1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-03 03:12:46 +02:00

unInject -> uninject

This commit is contained in:
Luck
2019-01-07 20:45:47 +00:00
parent 4788290615
commit 797c195424
6 changed files with 6 additions and 6 deletions

View File

@@ -297,7 +297,7 @@ public class LPBukkitPlugin extends AbstractLuckPermsPlugin {
// uninject from players // uninject from players
for (Player player : this.bootstrap.getServer().getOnlinePlayers()) { for (Player player : this.bootstrap.getServer().getOnlinePlayers()) {
try { try {
PermissibleInjector.unInject(player, false); PermissibleInjector.uninject(player, false);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }

View File

@@ -120,7 +120,7 @@ public final class PermissibleInjector {
* @param dummy if the replacement permissible should be a dummy. * @param dummy if the replacement permissible should be a dummy.
* @throws Exception propagates any exceptions which were thrown during uninjection * @throws Exception propagates any exceptions which were thrown during uninjection
*/ */
public static void unInject(Player player, boolean dummy) throws Exception { public static void uninject(Player player, boolean dummy) throws Exception {
// gets the players current permissible. // gets the players current permissible.
PermissibleBase permissible = (PermissibleBase) HUMAN_ENTITY_PERMISSIBLE_FIELD.get(player); PermissibleBase permissible = (PermissibleBase) HUMAN_ENTITY_PERMISSIBLE_FIELD.get(player);

View File

@@ -194,7 +194,7 @@ public class BukkitConnectionListener extends AbstractConnectionListener impleme
this.plugin.getBootstrap().getServer().getScheduler().runTaskLaterAsynchronously(this.plugin.getBootstrap(), () -> { this.plugin.getBootstrap().getServer().getScheduler().runTaskLaterAsynchronously(this.plugin.getBootstrap(), () -> {
// Remove the custom permissible // Remove the custom permissible
try { try {
PermissibleInjector.unInject(player, true); PermissibleInjector.uninject(player, true);
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
} }

View File

@@ -246,7 +246,7 @@ public class LPNukkitPlugin extends AbstractLuckPermsPlugin {
// uninject from players // uninject from players
for (Player player : this.bootstrap.getServer().getOnlinePlayers().values()) { for (Player player : this.bootstrap.getServer().getOnlinePlayers().values()) {
try { try {
PermissibleInjector.unInject(player, false); PermissibleInjector.uninject(player, false);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }

View File

@@ -110,7 +110,7 @@ public final class PermissibleInjector {
* @param dummy if the replacement permissible should be a dummy. * @param dummy if the replacement permissible should be a dummy.
* @throws Exception propagates any exceptions which were thrown during uninjection * @throws Exception propagates any exceptions which were thrown during uninjection
*/ */
public static void unInject(Player player, boolean dummy) throws Exception { public static void uninject(Player player, boolean dummy) throws Exception {
// gets the players current permissible. // gets the players current permissible.
PermissibleBase permissible = (PermissibleBase) PLAYER_PERMISSIBLE_FIELD.get(player); PermissibleBase permissible = (PermissibleBase) PLAYER_PERMISSIBLE_FIELD.get(player);

View File

@@ -187,7 +187,7 @@ public class NukkitConnectionListener extends AbstractConnectionListener impleme
this.plugin.getBootstrap().getServer().getScheduler().scheduleDelayedTask(this.plugin.getBootstrap(), () -> { this.plugin.getBootstrap().getServer().getScheduler().scheduleDelayedTask(this.plugin.getBootstrap(), () -> {
// Remove the custom permissible // Remove the custom permissible
try { try {
PermissibleInjector.unInject(player, true); PermissibleInjector.uninject(player, true);
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
} }