dniym/IllegalStack

StoppedPushableEntity

x1p opened this issue · 1 comments

x1p commented

A player was trying to push a block in an armorstand for decorative reason. It was prevented according to the messages because of StoppedPushableEntity.
Screenshot_20200817_120145

I checked he config, but I couldn't find a reason why. Eventually by digging through the code, I found that the following check to be the source:

Exploit:
  LagMachines:
    ArmorStand: false
    End Crystal: true

So I tried it on a server by turning the "End Crystal" to false and it was allowed it again.

I wonder what End Crystals has to do with armor stands. (I'm not even sure if pushing blocks into a entities is that really a lag machine but I could be wrong here. I think I can think of easier lag machines like flipping iron doors.)

dniym commented

Basically any entity can be pushed on top of another entity, armor stands, end crystals etc. when you cram enough of these together it creates a lot of lag. As a sever owner you’ll have to decide if allowing this decoration is worth the potential risk of someone putting a couple hundred armor stands or end crystals in the same spot.