10 Commits

Author SHA1 Message Date
93f8f715e5 Fixes some old bugs and renames rotX to yaw
Fixes the direction of minecarts sent through a portal. This prevent the minecarts to go back through the portal
and causing a lot of confusion
2021-09-10 23:38:56 +02:00
fb70b8bc75 Splits Gate into Gate, GateLayout and GateHandler, and creates a new portal package with portal related classes 2021-02-22 17:01:47 +01:00
1721750aa1 Adds comments and simplifies some of the code
Adds a PortalOption enum to simplify portal options
Adds a BungeeHelper class to collect the bungee-related code
2021-02-20 13:57:04 +01:00
5b7f5649b1 Makes a whole lot of changes
Adds some new tests
Improves plugin command handling by using one class for each command
Makes some changes to vehicle teleportation to support horses and pigs, but vehicle teleportation is still buggy and messy
Adds some more missing comments
Adds a wildcard permission and uses built-in permissions some places to avoid checking for three different permissions
2021-02-16 21:58:31 +01:00
42fa6ed8d7 Huge refactoring
Splits Portal into Portal and PortalHandler
Adds EconomyHelper to make messaging of economy string easier
Adds a lot of missing comments
Adds vehicle teleportation again, but it needs a lot of changes to work properly
2021-02-12 00:26:47 +01:00
5a9d70f827 Adds a warning against treating BlockLocation as a Location 2021-02-09 20:38:50 +01:00
27aa0ed29d Removes a function from BlockLocation present in Location which caused an infinite loop 2021-02-08 00:31:53 +01:00
4e3867eae9 Simplifies BlockLocation by making it extend Location 2021-02-07 16:58:33 +01:00
ad2be87404 Cleans and commments the BlockLocation class by storing most of its information as a Location 2021-02-07 16:37:42 +01:00
6ff998ac3b Restructures the plugin and starts work on cleaning and commenting the code 2021-02-07 03:37:25 +01:00