SaberLLC / Saber-Factions

The Ultimate Factions Plugin
GNU General Public License v3.0
123 stars 100 forks source link

Factions bed through walls #136

Closed blanitzaone closed 4 years ago

blanitzaone commented 4 years ago

Describe the bug Breaking a one-thick wall where there is a bed on the other side will allow you to spam right click until you're able to go in the bed through the wall, thus being able to set a teleport there and get in enemy factions.

To Reproduce Steps to reproduce the behavior:

  1. Make a one thick wall
  2. Set a bed on one side of it
  3. Get someone to claim that land
  4. Go to the other side of the wall where the bed is
  5. Keep mining and spamming right click until you lay in bed
  6. You can now set a teleport in the enemies/faction's base

Expected behavior Normally this should not be allowed, as it causes players to be able to glitch into other faction's territory

Screenshots https://youtu.be/Nh0wn_v0Rvc

Server Version (please complete the following information):

Additional context Add any other context about the problem here.