TShock/TShockAPI
Patrikkk 51a0732f0c Bouncer OnTileEdit - Code cleanup
I moved the block that checks for max tile and wall types to the start of the method where it checks for the editData (type) being smaller than 0.
I merged these checks, so it gets caught under the same hood.

We had a block that was a bit chaotic and hard to understand.
I've split it up so its a bit clearer. It checks if the tile data that is being placed, comes from the item they are selecting. There were additional checks merged in it, because terraria does not set the createTile of some items, so without the check it would have get caught as invalid placement.
I added a valid placement check for one of these, which is the Ice Rod/Ice block placement.
Handle action if the player is using icerod but not placing ice block.
There is no need for a check here on Dirtbomb, because the player only sends the projectile, the tiles are being placed by the server.
2020-06-12 00:27:47 +02:00
..
CLI Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
DB Add new perms and move more perms to trustedadmin 2020-06-06 00:28:21 -04:00
Extensions Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
Handlers Resolve STS issue #1999 2020-06-10 13:27:33 +09:30
Hooks Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
Localization pass compile; add void vault code 2020-05-17 21:38:47 +08:00
Models Add modeling to new projectile handling 2020-05-18 15:47:31 +09:30
Net Fix wall read bug in NetTile 2020-05-29 17:17:24 +09:30
Properties Version tick: 4.4.0 2020-05-18 01:04:51 -07:00
Rest Resolve null reference on REST user group name. Solves #1850 2020-05-22 14:41:52 +09:30
ServerSideCharacters Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
Sockets pass compile; add void vault code 2020-05-17 21:38:47 +08:00
app.config Saving work to apply merge changes 2017-04-19 17:12:38 -06:00
BackupManager.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
Bouncer.cs Bouncer OnTileEdit - Code cleanup 2020-06-12 00:27:47 +02:00
Commands.cs Add martians to validEvents response message 2020-06-06 22:54:14 -04:00
ConfigFile.cs Add KickOnThresholdBroken for more thresholds 2020-06-04 20:51:00 -04:00
FileTools.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
GeoIPCountry.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
GetDataHandlers.cs GetDataHandler - Add missing PlayerInfo data. 2020-06-05 03:46:04 +02:00
Group.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
HandlerList.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
ILog.cs Overhaul debug logging 2020-05-19 22:04:10 -07:00
IPackable.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
ItemBans.cs Update Bouncer/Item Bans refs for new models 2020-05-18 14:45:36 +09:30
NetItem.cs pass compile; add void vault code 2020-05-17 21:38:47 +08:00
packages.config Update to Newtonsoft JSON v10.0.3 for parity with OTAPI/TSAPI 2019-03-30 15:47:14 +10:30
PaginationTools.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
Permissions.cs Merge branch 'general-devel' into emojipacketevent 2020-06-02 11:21:19 +02:00
PlayerData.cs Initial working commit. 2020-05-27 23:05:45 -04:00
RegionHandler.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
Resources.Designer.cs Remove headers from autogenerated file 2016-10-17 11:28:34 +05:30
Resources.resx Remove 2 year old config files... 2013-10-01 20:55:19 -04:00
SaveManager.cs Clean up world save to be less alarmist 2020-05-23 23:33:16 -07:00
SqlLog.cs Properly don't log if not logging enabled 2020-05-20 00:00:09 -07:00
TextLog.cs Properly don't log if not logging enabled 2020-05-20 00:00:09 -07:00
TShock.cs Merge branch 'general-devel' into projectilestruct-addition 2020-06-01 19:12:38 +09:30
TShockAPI.csproj Implementing SyncTilePickingHandler. Patching tile damage related exploits. 2020-06-02 19:20:27 +02:00
TShockAPI.licenseheader Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
TSPlayer.cs Standardize permission rejection messages 2020-06-02 10:18:40 +09:30
TSServerPlayer.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
UpdateManager.cs Update copyright to 2019 again 2019-03-29 17:16:37 -07:00
Utils.cs pass compile; add void vault code 2020-05-17 21:38:47 +08:00
web.config Saving work to apply merge changes 2017-04-19 17:12:38 -06:00