TlatoaniHJ / Tablisknu

A Skript addon focused on manipulating the tablist, skins, and nametags.
MIT License
7 stars 4 forks source link

Some stuff breaks when running 25+ plugins #3

Closed HAHAYOUDEAD closed 4 years ago

HAHAYOUDEAD commented 5 years ago

Descrpition This is a weird one. Some java methods working via skript-mirror will stop scripts. There are few conditions to be met for this to take place.

Steps to reproduce

  1. Install 25+ plugins on your server including Tablisknu.
  2. Try placing a block with this skript running:
    
    import:
    org.bukkit.event.block.BlockCanBuildEvent

on BlockCanBuildEvent: #try placing a block where entity is standing broadcast "1" event.setBuildable(true)

> breaks

broadcast "2"

Result: you will see "1" but not "2".

**Additional context** 
When you are not running Tablisknu, no matter how much plugins installed - this issue is not present.
When you have 24 or less plugins including Tablisknu - this issue is not present.

This happens with seemingly random methods: i.e. `setSigning()` does break it, `setArt()` - doesn't, `sendPacket()` - does.

I also tested this on completely fresh server, only setting up Skript, skript-mirror, Tablisknu and filling plugins folder with some random plugins from spigot to get to overall count 25.

**Server information**
- Tablisknu: 1.0 BETA.6
- skript-mirror: 1.0.0
- Skript: 2.3.5
- Paper: 551 
- Minecraft: 1.13.2
- Java: 1.8 update 201
- OS: Win 10 x64