Pterodactyl integration is broken again
This commit is contained in:
parent
a33fd0d978
commit
7d71fc0a29
|
@ -97,6 +97,7 @@ dependencies {
|
|||
implementation('org.javassist:javassist:3.28.0-GA')
|
||||
implementation('org.jetbrains:annotations:22.0.0')
|
||||
implementation('com.mattmalec:Pterodactyl4J:2.BETA_92')
|
||||
implementation("com.squareup.okhttp3:okhttp:3.11.0")
|
||||
compileOnly('org.spigotmc:spigot:1.18.1-R0.1-SNAPSHOT')
|
||||
compileOnly('me.totalfreedom:BukkitTelnet:4.7')
|
||||
compileOnly('me.totalfreedom:TF-LibsDisguises:10.0.27-SNAPSHOT')
|
||||
|
@ -195,6 +196,7 @@ shadowJar {
|
|||
include(dependency('org.reflections:reflections'))
|
||||
include(dependency('org.jetbrains:annotations'))
|
||||
include(dependency('com.mattmalec:Pterodactyl4J'))
|
||||
include(dependency('com.squareup:okhttp3'))
|
||||
}
|
||||
relocate 'org.bstats', 'me.totalfreedom.totalfreedommod'
|
||||
relocate 'io.papermc.lib', 'me.totalfreedom.totalfreedommod.paperlib'
|
||||
|
|
|
@ -330,7 +330,7 @@ public class TotalFreedomMod extends JavaPlugin
|
|||
snp = new SignBlocker();
|
||||
ew = new EntityWiper();
|
||||
vh = new VanishHandler();
|
||||
ptero = new Pterodactyl();
|
||||
//ptero = new Pterodactyl();
|
||||
}
|
||||
|
||||
private void initAdminUtils()
|
||||
|
|
|
@ -27,10 +27,10 @@ public class SignBlocker extends FreedomService
|
|||
{
|
||||
}
|
||||
|
||||
/*
|
||||
@EventHandler(priority = EventPriority.NORMAL)
|
||||
public void onPlayerPlaceBlock(BlockPlaceEvent event)
|
||||
{
|
||||
|
||||
final Player player = event.getPlayer();
|
||||
if (Tag.SIGNS.getValues().contains(event.getBlock().getType()))
|
||||
{
|
||||
|
@ -50,6 +50,7 @@ public class SignBlocker extends FreedomService
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void onPlayerInteractSign(PlayerInteractEvent event)
|
||||
|
|
Loading…
Reference in New Issue